1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#[cfg(unix)] pub mod unix; #[cfg(windows)] pub mod win; #[cfg(unix)] pub fn initialize() { self::unix::initialize(); } #[cfg(windows)] pub fn initialize() { self::win::initialize(); } #[cfg(windows)] pub use crate::os::win::process::*;