We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a50172 + 377c550 commit c8a2f53Copy full SHA for c8a2f53
src/libunwind/build.rs
@@ -36,12 +36,6 @@ fn main() {
36
println!("cargo:rustc-link-lib=gcc_pic");
37
} else if target.contains("pc-windows-gnu") {
38
// This is handled in the target spec with late_link_args_[static|dynamic]
39
-
40
- // cfg!(bootstrap) doesn't work in build scripts
41
- if env::var("RUSTC_STAGE").ok() == Some("0".to_string()) {
42
- println!("cargo:rustc-link-lib=static-nobundle=gcc_eh");
43
- println!("cargo:rustc-link-lib=static-nobundle=pthread");
44
- }
45
} else if target.contains("uwp-windows-gnu") {
46
println!("cargo:rustc-link-lib=unwind");
47
} else if target.contains("fuchsia") {
0 commit comments