1 2 3 4 5
#[cfg(loom)] pub use loom::{thread, sync::*}; #[cfg(not(loom))] pub use std::{thread, sync::*};