File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -285,20 +285,6 @@ fn main() {
285
285
}
286
286
}
287
287
288
- // When running miri tests, we need to generate MIR for all libraries
289
- if env:: var ( "TEST_MIRI" ) . ok ( ) . map_or ( false , |val| val == "true" ) {
290
- // The flags here should be kept in sync with `add_miri_default_args`
291
- // in miri's `src/lib.rs`.
292
- cmd. arg ( "-Zalways-encode-mir" ) ;
293
- cmd. arg ( "--cfg=miri" ) ;
294
- // These options are preferred by miri, to be able to perform better validation,
295
- // but the bootstrap compiler might not understand them.
296
- if stage != "0" {
297
- cmd. arg ( "-Zmir-emit-retag" ) ;
298
- cmd. arg ( "-Zmir-opt-level=0" ) ;
299
- }
300
- }
301
-
302
288
if let Ok ( map) = env:: var ( "RUSTC_DEBUGINFO_MAP" ) {
303
289
cmd. arg ( "--remap-path-prefix" ) . arg ( & map) ;
304
290
}
Original file line number Diff line number Diff line change @@ -981,7 +981,6 @@ impl<'a> Builder<'a> {
981
981
PathBuf :: from ( "/path/to/nowhere/rustdoc/not/required" )
982
982
} ,
983
983
)
984
- . env ( "TEST_MIRI" , self . config . test_miri . to_string ( ) )
985
984
. env ( "RUSTC_ERROR_METADATA_DST" , self . extended_error_dir ( ) ) ;
986
985
987
986
if let Some ( host_linker) = self . linker ( compiler. host ) {
You can’t perform that action at this time.
0 commit comments