Skip to content

Commit

Permalink
Merge pull request rust-lang#261 from clubby789/fix-panic-ice
Browse files Browse the repository at this point in the history
Detect more kinds of ICE
  • Loading branch information
oli-obk authored Feb 27, 2023
2 parents b236c1b + 4db8017 commit c93a364
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ impl Config {
);

let saw_ice = stderr_utf8.contains("error: internal compiler error")
|| stderr_utf8.contains("' has overflowed its stack");
|| stderr_utf8.contains("' has overflowed its stack")
|| stderr_utf8.contains("error: the compiler unexpectedly panicked");

let input = (self.args.regress, status.success());
let result = match input {
Expand Down

0 comments on commit c93a364

Please sign in to comment.