about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-29 12:27:20 +0100
committerRalf Jung <post@ralfj.de>2024-03-31 19:44:54 +0200
commitb5fe655ae855c72d49f26103ec4717995c91ff02 (patch)
treebaf5e23c986dfe2d50cca4d906d623667195b0af
parent4056df5cf74e83286417f0df83cba510c32488d3 (diff)
downloadrust-b5fe655ae855c72d49f26103ec4717995c91ff02.tar.gz
rust-b5fe655ae855c72d49f26103ec4717995c91ff02.zip
bootstrap/rustc: remove a miri hack
-rw-r--r--src/bootstrap/src/bin/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/bin/rustc.rs b/src/bootstrap/src/bin/rustc.rs
index 74a924d86c7..12251924717 100644
--- a/src/bootstrap/src/bin/rustc.rs
+++ b/src/bootstrap/src/bin/rustc.rs
@@ -150,7 +150,7 @@ fn main() {
         {
             cmd.arg("-Ztls-model=initial-exec");
         }
-    } else if std::env::var("MIRI").is_err() {
+    } else {
         // Find any host flags that were passed by bootstrap.
         // The flags are stored in a RUSTC_HOST_FLAGS variable, separated by spaces.
         if let Ok(flags) = std::env::var("RUSTC_HOST_FLAGS") {