rust/library/std
Trevor Gross b86c601a71
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
2025-08-30 18:49:49 -05:00
..
benches Fix import in bench for wasm 2025-02-12 14:44:30 -08:00
src Rollup merge of #146030 - ChrisDenton:wait-timeout, r=tgross35 2025-08-30 18:49:49 -05:00
tests Rollup merge of #144651 - connortsui20:nonpoison_condvar, r=joboet 2025-08-30 20:29:06 +10:00
build.rs Use feature(target_has_reliable_f16_f128) in library tests 2025-04-27 20:10:33 +00:00
Cargo.toml library: Migrate from cfg_if to cfg_select 2025-08-16 05:28:31 -07:00