diff options
| author | bors <bors@rust-lang.org> | 2018-07-24 19:34:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-24 19:34:11 +0000 |
| commit | 487e961c6ae072d969e148def0b0856c2367ae00 (patch) | |
| tree | 75e387657438fab491eae50a57a2f6fb4c2287e3 /src/liballoc_jemalloc | |
| parent | f498e4ec1b57c3245a2fb8e0d5d836ed56760d2d (diff) | |
| parent | 76e33b4eb4f116b02d3754efd67e4fba0c9b3f93 (diff) | |
| download | rust-487e961c6ae072d969e148def0b0856c2367ae00.tar.gz rust-487e961c6ae072d969e148def0b0856c2367ae00.zip | |
Auto merge of #52181 - QuietMisdreavus:panicked-tester, r=GuillaumeGomez
rustdoc: set panic output before starting compiler thread pool When the compiler was updated to run on a thread pool, rustdoc's processing of compiler/doctest stderr/stdout was moved into each compiler thread. However, this caused output of the test to be lost if the test failed at *runtime* instead of compile time. This change sets up the `set_panic` call and output bomb before starting the compiler thread pool, so that the `Drop` call that writes back to the test's stdout happens after the test runs, not just after it compiles. Fixes https://github.com/rust-lang/rust/issues/51162
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions
