rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.71k stars 12.75k forks source link

inconsistent exit code on ICE #130105

Open matthiaskrgr opened 2 months ago

matthiaskrgr commented 2 months ago

Most of the time, rustc seems to exit with 101, but there are a couple of cases where rust rustc exits with 134

https://github.com/rust-lang/rust/issues/130015 for example shows exit code 101 but https://github.com/rust-lang/rust/issues/130104 shows exit code 134

this makes it harder for automated tooling to handle ICEs

asquared31415 commented 2 months ago

the exit code 134 error panicked when trying to print the query stack, and then aborted, rather than just exiting due to the ICE panic.