We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Once
1 parent eb5e244 commit 0fbeb96Copy full SHA for 0fbeb96
library/std/src/sys/sync/once/mod.rs
@@ -9,6 +9,7 @@
9
10
cfg_if::cfg_if! {
11
if #[cfg(any(
12
+ all(target_os = "windows", not(target_vendor="win7")),
13
target_os = "linux",
14
target_os = "android",
15
all(target_arch = "wasm32", target_feature = "atomics"),
@@ -21,7 +22,7 @@ cfg_if::cfg_if! {
21
22
mod futex;
23
pub use futex::{Once, OnceState};
24
} else if #[cfg(any(
- windows,
25
+ all(target_os = "windows", target_vendor = "win7"),
26
target_family = "unix",
27
all(target_vendor = "fortanix", target_env = "sgx"),
28
target_os = "solid_asp3",
0 commit comments