1 2 3 4 5 6 7
#[cfg(not(any(loom, shuttle)))] pub(crate) use std::{hint, sync, thread}; #[cfg(all(loom, not(shuttle)))] pub(crate) use loom::{hint, sync, thread}; #[cfg(all(shuttle, not(loom)))] pub(crate) use shuttle::{hint, sync, thread};