Add libc funcitons only for wasm32-wasip1-threads.
This commit is contained in:
parent
e4092bd909
commit
4f16640bbf
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue