Skip to content

Commit

Permalink
Unrolled build for rust-lang#128909
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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`.
  • Loading branch information
rust-timer committed Aug 10, 2024
2 parents 8291d68 + f595539 commit b8de25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-make/dump-ice-to-disk/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use run_make_support::{cwd, has_extension, has_prefix, rfs, rustc, shallow_find_files};

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

clear_ice_files();
Expand Down

0 comments on commit b8de25f

Please sign in to comment.