Move wasm atomics code to wasm/atomics

This commit is contained in:
Christiaan Dirkx 2021-04-28 15:54:08 +02:00
parent 52fa9daa64
commit fab8410801
6 changed files with 5 additions and 5 deletions

View File

@ -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"]