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