Skip to content

Commit c8a2f53

Browse files
authored
Rollup merge of rust-lang#73187 - mati865:bootstrap-cleanup, r=Mark-Simulacrum
Remove missed `cfg(bootstrap)`
2 parents 1a50172 + 377c550 commit c8a2f53

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libunwind/build.rs

Lines changed: 0 additions & 6 deletions
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)