Windows: Use futex implementation for Once · model-checking/verify-rust-std@395ad9f (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit 395ad9f

Windows: Use futex implementation for Once

Keep the queue implementation for win7. Inspired by PR rust-lang#121956

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
9 9
10 10 cfg_if::cfg_if! {
11 11 if #[cfg(any(
12 + all(target_os = "windows", not(target_vendor="win7")),
12 13 target_os = "linux",
13 14 target_os = "android",
14 15 all(target_arch = "wasm32", target_feature = "atomics"),