Files
rust/library/std/src
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
..
2025-08-15 16:36:06 +00:00
2024-11-02 11:27:14 +01:00
2025-06-16 09:15:17 +02:00
2025-02-13 13:10:28 -08:00
2025-08-19 19:05:19 -04:00
2025-01-11 06:35:21 +02:00
2025-08-02 01:32:52 +02:00
2024-04-08 11:57:17 +00:00
2025-05-15 11:20:13 +02:00
2025-02-07 16:54:07 +01:00