1 2 3 4 5
#[cfg(all(target_arch = "wasm32"))] pub mod web; #[cfg(not(target_arch = "wasm32"))] pub mod native; #[cfg(all(target_arch = "wasm32"))] pub use self::web::Window; #[cfg(not(target_arch = "wasm32"))] pub use self::native::Window;