Use futex locks on emscripten.

This commit is contained in:
Mara Bos 2022-04-19 09:20:06 +02:00
parent 6abdd0b6d4
commit 06a8f05b0c

View File

@ -2,6 +2,7 @@ cfg_if::cfg_if! {
if #[cfg(any(
target_os = "linux",
target_os = "android",
all(target_os = "emscripten", target_feature = "atomics"),
))] {
mod futex;
mod futex_rwlock;