Skip to content

Commit dbcaf6c

Browse files
committed
Do not assume libunwind.a is available
1 parent a125ec9 commit dbcaf6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libunwind/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mod libunwind;
3030
#[cfg(not(target_env = "msvc"))]
3131
pub use libunwind::*;
3232

33-
#[cfg(target_env = "musl")]
34-
#[link(name = "unwind", kind = "static-nobundle", cfg(target_feature = "crt-static"))]
33+
#[cfg(all(target_env = "musl", not(target_arch = "mips")))]
34+
#[link(name = "unwind", kind = "static", cfg(target_feature = "crt-static"))]
3535
#[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
3636
extern {}

0 commit comments

Comments
 (0)