Rollup merge of #99800 - sandydoo:bugfix/wasm-futex, r=m-ou-se
Fix futex module imports on wasm+atomics The futex modules were rearranged a bit in #98707, which meant that wasm+atomics would no longer compile on nightly. I don’t believe any other targets were impacted by this.
This commit is contained in:
commit
8d465cc551
1 changed files with 4 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue