]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/bin/rustc.rs
Auto merge of #50709 - alexcrichton:revert-musl, r=sfackler
[rust.git] / src / bootstrap / bin / rustc.rs
index 4607ca5cf9f48e72b32672d424f97c48399c2e6c..6f27402233f987e617b61df7cdb3305afa652348 100644 (file)
@@ -268,15 +268,6 @@ fn main() {
         if let Ok(host_linker) = env::var("RUSTC_HOST_LINKER") {
             cmd.arg(format!("-Clinker={}", host_linker));
         }
-
-        if let Ok(s) = env::var("RUSTC_HOST_CRT_STATIC") {
-            if s == "true" {
-                cmd.arg("-C").arg("target-feature=+crt-static");
-            }
-            if s == "false" {
-                cmd.arg("-C").arg("target-feature=-crt-static");
-            }
-        }
     }
 
     if env::var_os("RUSTC_PARALLEL_QUERIES").is_some() {