Skip to content

Commit

Permalink
disable RUSTC_ICE(=0) to not print ices to disk all the time
Browse files Browse the repository at this point in the history
Fixes #39

rustc pr rust-lang/rust#108714
  • Loading branch information
matthiaskrgr committed Jul 20, 2023
1 parent 7da7f46 commit 5ef4d21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/run_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,10 @@ pub(crate) fn prlimit_run_command(
v.unwrap_or_else(|| panic!("failed to unwrap env {:?}", k.to_str())),
)
})
.chain(std::iter::once((
std::ffi::OsStr::new("RUSTC_ICE"),
std::ffi::OsStr::new("0"),
)))
.collect::<Vec<(&std::ffi::OsStr, &std::ffi::OsStr)>>();
let full_miri = new_command
.get_args()
Expand Down

0 comments on commit 5ef4d21

Please sign in to comment.