blob: 80947acecc0c43905b0db5ad6f120ee0fe5791b3 (
plain)
1
2
3
4
5
6
7
8
9
|
#[cfg(not(all(test, loom)))]
pub(crate) mod sync {
pub(crate) mod atomic {
pub(crate) use core::sync::atomic::{fence, AtomicPtr, AtomicUsize, Ordering};
}
}
#[cfg(all(test, loom))]
pub(crate) use ::loom::sync;
|