about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-24 19:34:11 +0000
committerbors <bors@rust-lang.org>2018-07-24 19:34:11 +0000
commit487e961c6ae072d969e148def0b0856c2367ae00 (patch)
tree75e387657438fab491eae50a57a2f6fb4c2287e3 /src/liballoc_jemalloc
parentf498e4ec1b57c3245a2fb8e0d5d836ed56760d2d (diff)
parent76e33b4eb4f116b02d3754efd67e4fba0c9b3f93 (diff)
downloadrust-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