1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
#![recursion_limit = "1024"] #[macro_use] extern crate quick_error; #[cfg(windows)] pub mod windows; #[cfg(windows)] pub use windows::*; #[cfg(target_os = "linux")] pub mod linux; #[cfg(target_os = "linux")] pub use linux::*; #[cfg(target_os = "emscripten")] pub mod emscripten; #[cfg(target_os = "emscripten")] pub use emscripten::*; #[cfg(target_os = "emscripten")] #[macro_use] extern crate stdweb; #[cfg(all(target_arch = "wasm32", target_os = "unknown"))] pub mod wasm; #[cfg(all(target_arch = "wasm32", target_os = "unknown"))] pub use wasm::*; #[cfg( not( any( windows, target_os = "linux", target_os = "emscripten", all(target_arch = "wasm32", target_os = "unknown") ) ) )] pub mod other; #[cfg( not( any( windows, target_os = "linux", target_os = "emscripten", all(target_arch = "wasm32", target_os = "unknown") ) ) )] pub use other::*;