From 5ef4d21a7bd80b66eead60fdc3a6df519161a59f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 20 Jul 2023 21:20:45 +0200 Subject: [PATCH] disable RUSTC_ICE(=0) to not print ices to disk all the time Fixes https://github.com/matthiaskrgr/icemaker/issues/39 rustc pr https://github.com/rust-lang/rust/pull/108714 --- src/run_commands.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/run_commands.rs b/src/run_commands.rs index 4498467..2dda3a8 100644 --- a/src/run_commands.rs +++ b/src/run_commands.rs @@ -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::>(); let full_miri = new_command .get_args()