mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-20 03:27:30 +00:00
Use futex locks on emscripten.
This commit is contained in:
parent
6abdd0b6d4
commit
06a8f05b0c
@ -2,6 +2,7 @@ cfg_if::cfg_if! {
|
|||||||
if #[cfg(any(
|
if #[cfg(any(
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "android",
|
target_os = "android",
|
||||||
|
all(target_os = "emscripten", target_feature = "atomics"),
|
||||||
))] {
|
))] {
|
||||||
mod futex;
|
mod futex;
|
||||||
mod futex_rwlock;
|
mod futex_rwlock;
|
||||||
|
Loading…
Reference in New Issue
Block a user