diff options
| author | bors <bors@rust-lang.org> | 2015-07-21 08:26:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-07-21 08:26:19 +0000 |
| commit | 247a0d185446fb145e1e5843c44c97b9a564e135 (patch) | |
| tree | 991585e1ba9f5d980f46f4a0cc0833152c522d4e /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 691ce23479b08a292ad106606dab347306fc381f (diff) | |
| parent | 013d47b19b25b94e9740f725425bc836bac6efde (diff) | |
| download | rust-247a0d185446fb145e1e5843c44c97b9a564e135.tar.gz rust-247a0d185446fb145e1e5843c44c97b9a564e135.zip | |
Auto merge of #27153 - alexcrichton:flaky-tests, r=brson
This commit ensures that the rustc thread does not leak a panic message whenever a call to `fatal` happens. This already happens for the main rustc thread as part of the `rustc_driver::monitor` function, but the compiler also spawns threads for other operations like `-C codegen-units`, and sometimes errors are emitted on these threads as well. To ensure that there's a consistent error-handling experience across threads this unifies these two to never print the panic message in the case of a normal and expected fatal error. This should also fix the flaky `asm-src-loc-codegen-units.rs` test as the output is sometimes garbled if diagnostics are printed while the panic message is also being printed.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
