Skip to content

Commit cb1ad31

Browse files
committed
Count any thread stack overflow as an ICE
To catch e.g. `thread 'LTO module rust_out.a7c7f09e-cgu.0' has overflowed its stack`
1 parent 78c1265 commit cb1ad31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ impl Config {
282282
);
283283

284284
let saw_ice = stderr_utf8.contains("error: internal compiler error")
285-
|| stderr_utf8.contains("thread 'rustc' has overflowed its stack");
285+
|| stderr_utf8.contains("' has overflowed its stack");
286286

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

0 commit comments

Comments
 (0)