Skip to content

Commit 47de35e

Browse files
committed
libstd-rs: Remove libunwind on riscv
riscv port of libunwind is not available yet Signed-off-by: Khem Raj <[email protected]>
1 parent e297948 commit 47de35e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

recipes-devtools/rust/libstd-rs.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ RUSTLIB_DEP = ""
88
inherit cargo
99

1010
DEPENDS_append_libc-musl = " libunwind"
11+
# rv32 does not have libunwind ported yet
12+
DEPENDS_remove_riscv32 = "libunwind"
13+
DEPENDS_remove_riscv64 = "libunwind"
14+
1115
# Needed so cargo can find libbacktrace
1216
RUSTFLAGS += "-L ${STAGING_LIBDIR} -C link-arg=-Wl,-soname,libstd.so"
1317

0 commit comments

Comments
 (0)