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