1 2 3 4 5 6 7 8 9 10 11 12
mod common; #[cfg(target_arch = "wasm32")] mod wasm; #[cfg(target_arch = "wasm32")] pub use crate::wasm::*; #[cfg(not(target_arch = "wasm32"))] mod native; #[cfg(not(target_arch = "wasm32"))] pub use crate::native::*; pub use common::SpawnError;