1 2 3 4 5 6 7 8 9 10 11
//! OS-specific extensions for public types. cfg_if::cfg_if! { if #[cfg(target_os = "linux")] { pub mod linux; } else if #[cfg(target_os = "macos")] { pub mod macos; } else if #[cfg(target_os = "windows")] { pub mod windows; } }