diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2025-08-30 18:49:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-30 18:49:49 -0500 |
| commit | b86c601a715db66ed1762ad3e0ac6e8182fb495e (patch) | |
| tree | 19f27573772d497cb64e383deac6fac1f1aa314e /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 94893391182869ae62b481437498f3c06b63d77e (diff) | |
| parent | 3516e25eedcf7438e04b6c1f5a7a926ac2c893bc (diff) | |
| download | rust-b86c601a715db66ed1762ad3e0ac6e8182fb495e.tar.gz rust-b86c601a715db66ed1762ad3e0ac6e8182fb495e.zip | |
Rollup merge of #146030 - ChrisDenton:wait-timeout, r=tgross35
Fix `sys::process::windows::tests::test_thread_handle` spurious failure Instead of sleeping, wait for the process to finish so that we can be sure it's done. We use a timeout because otherwise this test can be stuck indefinitely if it fails (unfortunately std doesn't currently have a way to wait with a timeout so a manual OS API call is necessary). I also changed the test to run `whoami` and pipe the output to null so that it doesn't clutter up the test output. Fixes rust-lang/rust#146024
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
