Skip to content

Commit f595539

Browse files
committed
Fix dump-ice-to-disk for RUSTC_ICE=0 users
1 parent 86e7875 commit f595539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-make/dump-ice-to-disk/rmake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use run_make_support::{cwd, has_extension, has_prefix, rfs, rustc, shallow_find_files};
1010

1111
fn main() {
12-
rustc().input("lib.rs").arg("-Ztreat-err-as-bug=1").run_fail();
12+
rustc().env("RUSTC_ICE", cwd()).input("lib.rs").arg("-Ztreat-err-as-bug=1").run_fail();
1313
let default = get_text_from_ice(".").lines().count();
1414
clear_ice_files();
1515

0 commit comments

Comments
 (0)