Skip to content

Commit 838d25b

Browse files
authored
Rollup merge of #73187 - mati865:bootstrap-cleanup, r=Mark-Simulacrum
Remove missed `cfg(bootstrap)`
2 parents 6baf867 + 377c550 commit 838d25b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libunwind/build.rs

-6
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ fn main() {
3636
println!("cargo:rustc-link-lib=gcc_pic");
3737
} else if target.contains("pc-windows-gnu") {
3838
// 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-
}
4539
} else if target.contains("uwp-windows-gnu") {
4640
println!("cargo:rustc-link-lib=unwind");
4741
} else if target.contains("fuchsia") {

0 commit comments

Comments
 (0)