Move wasm
atomics code to wasm/atomics
This commit is contained in:
parent
52fa9daa64
commit
fab8410801
@ -48,15 +48,15 @@
|
||||
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(target_feature = "atomics")] {
|
||||
#[path = "condvar_atomics.rs"]
|
||||
#[path = "atomics/condvar.rs"]
|
||||
pub mod condvar;
|
||||
#[path = "mutex_atomics.rs"]
|
||||
#[path = "atomics/mutex.rs"]
|
||||
pub mod mutex;
|
||||
#[path = "rwlock_atomics.rs"]
|
||||
#[path = "atomics/rwlock.rs"]
|
||||
pub mod rwlock;
|
||||
#[path = "futex_atomics.rs"]
|
||||
#[path = "atomics/futex.rs"]
|
||||
pub mod futex;
|
||||
#[path = "thread_atomics.rs"]
|
||||
#[path = "atomics/thread.rs"]
|
||||
pub mod thread;
|
||||
} else {
|
||||
#[path = "../unsupported/condvar.rs"]
|
||||
|
Loading…
Reference in New Issue
Block a user