We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61a080 commit 97c1141Copy full SHA for 97c1141
std/src/sys/thread_local/key/unix.rs
@@ -1,7 +1,7 @@
1
use crate::mem;
2
3
// For WASI add a few symbols not in upstream `libc` just yet.
4
-#[cfg(target_os = "wasi")]
+#[cfg(all(target_os = "wasi", target_env = "p1", target_feature = "atomics"))]
5
mod libc {
6
use crate::ffi;
7
0 commit comments