Skip to content

Commit

Permalink
Add libc funcitons only for wasm32-wasip1-threads.
Browse files Browse the repository at this point in the history
  • Loading branch information
surban authored and gitbot committed Feb 20, 2025
1 parent 7b6a5e3 commit 3657a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/sys/thread_local/key/unix.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::mem;

// For WASI add a few symbols not in upstream `libc` just yet.
#[cfg(target_os = "wasi")]
#[cfg(all(target_os = "wasi", target_env = "p1", target_feature = "atomics"))]
mod libc {
use crate::ffi;

Expand Down

0 comments on commit 3657a2f

Please sign in to comment.