diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-29 22:25:16 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-14 11:18:23 +0200 |
| commit | a5932b15074ac6c526446eb60d13a0c20e438835 (patch) | |
| tree | d25997e461b28f29f0ce9098c4dd64f4242a28cd /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | dd1e35f9c021493c203b5a8d820017b574273d8f (diff) | |
| download | rust-a5932b15074ac6c526446eb60d13a0c20e438835.tar.gz rust-a5932b15074ac6c526446eb60d13a0c20e438835.zip | |
compiletest: switch crash detection logic for run_crash_test around
previously we would explicitly look for exit code 101 and call it a crash, however in case of stack overflows for example, exit code could differ due to the process being killed by a signal which is not easy to detect on none-unix. So now we reject everything that exits with 0 (no error) or 1 (compiler failed to compile code) and "accept" everyhing else as an internal compiler error.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
