diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-12 00:05:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-12 00:05:31 +0200 |
| commit | 838d25b5e3cfabce609d9b9cb22653c4961d94b7 (patch) | |
| tree | b091b2c892b801ea2858f185071bf3db855ddb7a /src | |
| parent | 6baf867882da93f1a5132a2bde251549009eadf4 (diff) | |
| parent | 377c55039ac4dad6e75782434fbdc38046601524 (diff) | |
Rollup merge of #73187 - mati865:bootstrap-cleanup, r=Mark-Simulacrum
Remove missed `cfg(bootstrap)`
Diffstat (limited to 'src')
| -rw-r--r-- | src/libunwind/build.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libunwind/build.rs b/src/libunwind/build.rs index 00749d93d55..f6f16f686e5 100644 --- a/src/libunwind/build.rs +++ b/src/libunwind/build.rs @@ -36,12 +36,6 @@ fn main() { println!("cargo:rustc-link-lib=gcc_pic"); } else if target.contains("pc-windows-gnu") { // This is handled in the target spec with late_link_args_[static|dynamic] - - // cfg!(bootstrap) doesn't work in build scripts - if env::var("RUSTC_STAGE").ok() == Some("0".to_string()) { - println!("cargo:rustc-link-lib=static-nobundle=gcc_eh"); - println!("cargo:rustc-link-lib=static-nobundle=pthread"); - } } else if target.contains("uwp-windows-gnu") { println!("cargo:rustc-link-lib=unwind"); } else if target.contains("fuchsia") { |
