Skip to content

Commit f5b8714

Browse files
committed
Include rustc overflowing its stack as an ICE
1 parent 40df50c commit f5b8714

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/main.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,10 @@ impl Config {
251251
status, stdout_utf8, stderr_utf8
252252
);
253253

254-
let saw_ice = || -> bool { stderr_utf8.contains("error: internal compiler error") };
254+
let saw_ice = || -> bool {
255+
stderr_utf8.contains("error: internal compiler error")
256+
|| stderr_utf8.contains("thread 'rustc' has overflowed its stack")
257+
};
255258

256259
let input = (self.output_processing_mode(), status.success());
257260
let result = match input {

0 commit comments

Comments
 (0)