Fix dump-ice-to-disk for RUSTC_ICE=0 users
This commit is contained in:
parent
86e7875c13
commit
f595539b81
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
use run_make_support::{cwd, has_extension, has_prefix, rfs, rustc, shallow_find_files};
|
use run_make_support::{cwd, has_extension, has_prefix, rfs, rustc, shallow_find_files};
|
||||||
|
|
||||||
fn main() {
|
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();
|
let default = get_text_from_ice(".").lines().count();
|
||||||
clear_ice_files();
|
clear_ice_files();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue