We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78c3a49 commit 7c2fc62Copy full SHA for 7c2fc62
src/libunwind/build.rs
@@ -35,7 +35,8 @@ fn main() {
35
} else if target.contains("dragonfly") {
36
println!("cargo:rustc-link-lib=gcc_pic");
37
} else if target.contains("windows-gnu") {
38
- println!("cargo:rustc-link-lib=gcc_eh");
+ println!("cargo:rustc-link-lib=static-nobundle=gcc_eh");
39
+ println!("cargo:rustc-link-lib=static-nobundle=pthread");
40
} else if target.contains("fuchsia") {
41
println!("cargo:rustc-link-lib=unwind");
42
}
src/libunwind/lib.rs
@@ -17,6 +17,7 @@
17
#![feature(cfg_target_vendor)]
18
#![feature(staged_api)]
19
#![feature(unwind_attributes)]
20
+#![feature(static_nobundle)]
21
22
#![cfg_attr(not(target_env = "msvc"), feature(libc))]
23
0 commit comments