Skip to content

Commit 13921da

Browse files
committed
-Zmir-emit-validate is in stage 0
1 parent ab018c7 commit 13921da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/bin/rustc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ fn main() {
247247
}
248248

249249
// When running miri tests, we need to generate MIR for all libraries
250-
if env::var("TEST_MIRI").ok().map_or(false, |val| val == "true") && stage != "0" {
250+
if env::var("TEST_MIRI").ok().map_or(false, |val| val == "true") {
251251
cmd.arg("-Zalways-encode-mir");
252252
cmd.arg("-Zmir-emit-validate=1");
253253
}

0 commit comments

Comments
 (0)