1 2 3 4 5 6 7 8 9
#[cfg(target_os = "windows")] mod windows; #[cfg(target_os = "windows")] pub use windows::*; #[cfg(not(target_os = "windows"))] mod unix; #[cfg(not(target_os = "windows"))] pub use unix::*;