Skip to content

Commit 5298e9d

Browse files
authored
Merge pull request #142 from Alexendoo/stack-overflow
Include rustc overflowing its stack as an ICE
2 parents 0cea662 + f5b8714 commit 5298e9d

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.regress_on(), status.success());
257260
let result = match input {

0 commit comments

Comments
 (0)