about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-09 06:23:18 +0000
committerbors <bors@rust-lang.org>2024-03-09 06:23:18 +0000
commit48a15aa2c496db70e14db62d6a477b23fc316e3c (patch)
treebf583b6e43a14d5d0fc1d61ba156cc4b3335b72d /compiler/rustc_codegen_gcc/src
parent1b427b3bf79c2cd48c75915301be3b009b82dea3 (diff)
parent9abe47e3720d8fc236464a9295389fc0b21f67e5 (diff)
downloadrust-48a15aa2c496db70e14db62d6a477b23fc316e3c.tar.gz
rust-48a15aa2c496db70e14db62d6a477b23fc316e3c.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions