Do not assume libunwind.a is available
This commit is contained in:
parent
a125ec918f
commit
dbcaf6c80a
@ -30,7 +30,7 @@ mod libunwind;
|
|||||||
#[cfg(not(target_env = "msvc"))]
|
#[cfg(not(target_env = "msvc"))]
|
||||||
pub use libunwind::*;
|
pub use libunwind::*;
|
||||||
|
|
||||||
#[cfg(target_env = "musl")]
|
#[cfg(all(target_env = "musl", not(target_arch = "mips")))]
|
||||||
#[link(name = "unwind", kind = "static-nobundle", cfg(target_feature = "crt-static"))]
|
#[link(name = "unwind", kind = "static", cfg(target_feature = "crt-static"))]
|
||||||
#[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
|
#[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
|
||||||
extern {}
|
extern {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user