Skip to content

Commit

Permalink
Fix futex module imports on wasm+atomics
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Jul 27, 2022
1 parent e33cc71 commit e3afce8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions library/std/src/sys/wasm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ cfg_if::cfg_if! {
#[path = "../unix/locks"]
pub mod locks {
#![allow(unsafe_op_in_unsafe_fn)]
mod futex;
mod futex_condvar;
mod futex_mutex;
mod futex_rwlock;
pub(crate) use futex::{Mutex, MovableMutex, Condvar, MovableCondvar};
pub(crate) use futex_condvar::{Condvar, MovableCondvar};
pub(crate) use futex_mutex::{Mutex, MovableMutex};
pub(crate) use futex_rwlock::{RwLock, MovableRwLock};
}
#[path = "atomics/futex.rs"]
Expand Down

0 comments on commit e3afce8

Please sign in to comment.