mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-12 15:52:43 +00:00
-Zmir-emit-validate is in stage 0
This commit is contained in:
parent
ab018c76e1
commit
13921dafbf
@ -247,7 +247,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// When running miri tests, we need to generate MIR for all libraries
|
// When running miri tests, we need to generate MIR for all libraries
|
||||||
if env::var("TEST_MIRI").ok().map_or(false, |val| val == "true") && stage != "0" {
|
if env::var("TEST_MIRI").ok().map_or(false, |val| val == "true") {
|
||||||
cmd.arg("-Zalways-encode-mir");
|
cmd.arg("-Zalways-encode-mir");
|
||||||
cmd.arg("-Zmir-emit-validate=1");
|
cmd.arg("-Zmir-emit-validate=1");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user