Skip to content

Commit 48fd9fd

Browse files
Rollup merge of #128909 - saethlin:run-make-ice-yes, r=jieyouxu
Fix dump-ice-to-disk for RUSTC_ICE=0 users Before this change, the test fails if you run it with `RUSTC_ICE=0`.
2 parents 0d0265c + f595539 commit 48fd9fd

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
@@ -13,7 +13,7 @@
1313
use run_make_support::{cwd, has_extension, has_prefix, rfs, rustc, shallow_find_files};
1414

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

1919
clear_ice_files();

0 commit comments

Comments
 (0)