about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-18 16:57:33 +0100
committerGitHub <noreply@github.com>2021-02-18 16:57:33 +0100
commit55ab2e38797ad1661ff4cfa95074a3d81636fde0 (patch)
treef0e24335cc00fb698c7aeab728539113bf1da127 /library/std/src/sys/unix/stack_overflow.rs
parentcb2effd44e667d133e31ef334e30d10195218ce6 (diff)
parent43aed7441ee289c6228ecead91ee66245122b880 (diff)
downloadrust-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 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions