1 2 3 4 5 6 7 8 9
cfg_if! { if #[cfg(windows)] { mod windows; pub use self::windows::*; } else if #[cfg(unix)] { mod unix; pub use self::unix::*; } }