Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dbcaf6c

Browse files
committedAug 24, 2017
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

Lines changed: 2 additions & 2 deletions
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)
Please sign in to comment.