Skip to content

Commit

Permalink
Use futex locks on emscripten.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Apr 19, 2022
1 parent 6abdd0b commit 06a8f05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/sys/unix/locks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06a8f05

Please sign in to comment.