Skip to content

Commit 06a8f05

Browse files
committed
Use futex locks on emscripten.
1 parent 6abdd0b commit 06a8f05

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/unix/locks

1 file changed

+1
-0
lines changed

library/std/src/sys/unix/locks/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ cfg_if::cfg_if! {
22
if #[cfg(any(
33
target_os = "linux",
44
target_os = "android",
5+
all(target_os = "emscripten", target_feature = "atomics"),
56
))] {
67
mod futex;
78
mod futex_rwlock;

0 commit comments

Comments
 (0)