Skip to content

Commit e681ba2

Browse files
committed
Rollup merge of #49922 - f-bro:zmiri, r=oli-obk
Remove -Zmiri debugging option
2 parents 31906e4 + 35087fc commit e681ba2

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

src/bootstrap/bin/rustc.rs

-3
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,6 @@ fn main() {
247247
// When running miri tests, we need to generate MIR for all libraries
248248
if env::var("TEST_MIRI").ok().map_or(false, |val| val == "true") {
249249
cmd.arg("-Zalways-encode-mir");
250-
if stage != "0" {
251-
cmd.arg("-Zmiri");
252-
}
253250
cmd.arg("-Zmir-emit-validate=1");
254251
}
255252

src/bootstrap/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ impl Step for Compiletest {
875875
if build.config.rust_debuginfo_tests {
876876
flags.push("-g".to_string());
877877
}
878-
flags.push("-Zmiri -Zunstable-options".to_string());
878+
flags.push("-Zunstable-options".to_string());
879879
flags.push(build.config.cmd.rustc_args().join(" "));
880880

881881
if let Some(linker) = build.linker(target) {

src/librustc/session/config.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1227,8 +1227,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
12271227
"print some statistics about MIR"),
12281228
always_encode_mir: bool = (false, parse_bool, [TRACKED],
12291229
"encode MIR of all functions into the crate metadata"),
1230-
miri: bool = (false, parse_bool, [TRACKED],
1231-
"check the miri const evaluator against the old ctfe"),
12321230
osx_rpath_install_name: bool = (false, parse_bool, [TRACKED],
12331231
"pass `-install_name @rpath/...` to the macOS linker"),
12341232
sanitizer: Option<Sanitizer> = (None, parse_sanitizer, [TRACKED],

0 commit comments

Comments
 (0)