diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-02-18 16:57:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-18 16:57:33 +0100 |
| commit | 55ab2e38797ad1661ff4cfa95074a3d81636fde0 (patch) | |
| tree | f0e24335cc00fb698c7aeab728539113bf1da127 /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | cb2effd44e667d133e31ef334e30d10195218ce6 (diff) | |
| parent | 43aed7441ee289c6228ecead91ee66245122b880 (diff) | |
| download | rust-55ab2e38797ad1661ff4cfa95074a3d81636fde0.tar.gz rust-55ab2e38797ad1661ff4cfa95074a3d81636fde0.zip | |
Rollup merge of #81546 - hyd-dev:libtest-run-out-of-threads, r=Mark-Simulacrum
[libtest] Run the test synchronously when hitting thread limit
libtest currently panics if it hits the thread limit. This often results in spurious test failures (<code>thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }'</code> ... `error: test failed, to rerun pass '--lib'`). This PR makes it continue to run the test synchronously if it runs out of threads.
Closes #78165.
``@rustbot`` label: A-libtest T-libs
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
