We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77fb7ba commit 619e647Copy full SHA for 619e647
std/src/sys/thread_local/mod.rs
@@ -86,7 +86,9 @@ pub(crate) mod guard {
86
mod windows;
87
pub(crate) use windows::enable;
88
} else if #[cfg(any(
89
- all(target_family = "wasm", not(target_os="wasi")),
+ all(target_family = "wasm", not(
90
+ all(target_os = "wasi", target_env = "p1", target_feature = "atomics")
91
+ )),
92
target_os = "uefi",
93
target_os = "zkvm",
94
))] {
@@ -135,7 +137,7 @@ pub(crate) mod key {
135
137
target_family = "unix",
136
138
),
139
target_os = "teeos",
- target_os = "wasi",
140
+ all(target_os = "wasi", target_env = "p1", target_feature = "atomics"),
141
142
mod racy;
143
mod unix;
0 commit comments