diff options
| author | Samuel Holland <samuel@sholland.org> | 2017-08-22 16:24:29 -0500 |
|---|---|---|
| committer | Samuel Holland <samuel@sholland.org> | 2017-08-22 16:24:29 -0500 |
| commit | 52832439ad00fcb23a96ef79a216ed9f62c467c5 (patch) | |
| tree | 88c1c76ac541b279ad5775edc9160e7dc633bc76 /src/bootstrap/bin | |
| parent | 4b09dc6e394c3d2397ad46530a96fd5f63a1c88c (diff) | |
| download | rust-52832439ad00fcb23a96ef79a216ed9f62c467c5.tar.gz rust-52832439ad00fcb23a96ef79a216ed9f62c467c5.zip | |
Inline crt-static choice for pc-windows-msvc
This avoids the possibility of a duplicate or conflicting crt-static command line option sent to rustc.
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/rustc.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index d098806a8a0..0baca9e58f4 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -237,11 +237,6 @@ fn main() { } } - if target.contains("pc-windows-msvc") { - cmd.arg("-Z").arg("unstable-options"); - cmd.arg("-C").arg("target-feature=+crt-static"); - } - if let Ok(s) = env::var("RUSTC_CRT_STATIC") { if s == "true" { cmd.arg("-C").arg("target-feature=+crt-static"); |
