rust/library/std/src
bors 48a15aa2c4 Auto merge of #122095 - lukas-code:windows-shutdown-test, r=ChrisDenton
fix `close_read_wakes_up` test

On windows, `shutdown` does not interrupt `read`, even though we document that it does (see https://github.com/rust-lang/rust/issues/121594).

The `close_read_wakes_up` test has a race condition and only passes on windows if the `shutdown` happens before the `read`. This PR ignores the test on windows adds a sleep to make it more likely that the `read` happens before the `shutdown` and the test actually tests what it is supposed to test on other platforms.

I'm submitting this before any docs changes, so that we can find out on what platforms `shutdown` actually works as documented.

r? `@ChrisDenton`
2024-03-09 06:23:18 +00:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections Add rustc_confusables annotations to some stdlib APIs 2024-02-22 18:04:55 +00:00
env remove redundant imports 2023-12-10 10:56:22 +08:00
error core/any: remove Provider trait 2023-08-13 13:07:53 -06:00
f32 Add gamma and ln_gamma functions to f32 and f64 2023-07-31 07:41:50 -07:00
f64 Add gamma and ln_gamma functions to f32 and f64 2023-07-31 07:41:50 -07:00
ffi Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00
fs library: Fix a symlink test failing on Windows 2024-01-06 01:40:56 +03:00
hash update version placeholders 2023-12-22 11:01:42 +01:00
io Fix quadratic behavior of repeated vectored writes 2024-03-03 14:32:36 +01:00
net fix close_read_wakes_up test 2024-03-06 18:01:09 +01:00
num removed nonfunctioning benchmark 2024-01-11 11:30:12 -05:00
os make std::os::unix::ucred module private 2024-03-07 16:23:35 +01:00
panic review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
path remove redundant imports 2023-12-10 10:56:22 +08:00
prelude Add Future and IntoFuture to the 2024 prelude 2024-02-18 23:20:05 +01:00
process Rollup merge of #114379 - RalfJung:command-removed-env-vars, r=m-ou-se 2023-09-22 12:15:25 +02:00
sync Rollup merge of #121736 - HTGAzureX1212:HTGAzureX1212/remove-mutex-unlock, r=jhpratt 2024-03-01 17:51:30 +01:00
sys Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00
sys_common Rollup merge of #121666 - ChrisDenton:thread-name, r=cuviper 2024-03-02 16:53:14 +01:00
thread Auto merge of #122113 - matthiaskrgr:rollup-5d1jnwi, r=matthiaskrgr 2024-03-07 02:30:40 +00:00
time Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomcc 2023-05-05 18:40:32 +05:30
alloc.rs libs: use assert_unchecked instead of intrinsic 2024-01-13 20:10:00 +01:00
ascii.rs Add the basic ascii::Char type 2023-05-03 22:09:33 -07:00
backtrace.rs rename ptr::invalid -> ptr::without_provenance 2024-02-21 20:15:52 +01:00
env.rs Remove doc aliases to PATH 2024-02-29 14:28:47 -05:00
error.rs Clean dead codes 2023-11-26 09:25:07 +08:00
f32.rs Use the guaranteed precision of a couple of float functions in docs 2024-03-01 18:57:42 +01:00
f64.rs Use the guaranteed precision of a couple of float functions in docs 2024-03-01 18:57:42 +01:00
fs.rs Rollup merge of #118623 - haydonryan:master, r=workingjubilee 2024-03-08 08:19:16 +01:00
keyword_docs.rs docs: Add example, reference link for type keyword. 2023-08-21 20:00:43 +07:00
lib.rs Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00
macros.rs added column number to dbg!() 2023-12-12 18:12:23 +08:00
num.rs Switch NonZero alias direction. 2024-01-27 16:38:57 +01:00
panic.rs Implement unwind safety for Condvar 2024-02-28 14:56:36 -08:00
panicking.rs rename 'try' intrinsic to 'catch_unwind' 2024-02-26 11:10:18 +01:00
path.rs Rollup merge of #120051 - riverbl:os-str-display, r=m-ou-se 2024-02-28 16:04:49 +01:00
process.rs Use generic NonZero everywhere in std. 2024-02-22 15:17:33 +01:00
rt.rs Cfg remove lang items in doctest 2023-12-15 16:17:28 +00:00
time.rs Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00