1 2 3 4 5 6 7 8 9 10 11 12
cfg_if! { if #[cfg(target_os = "windows")] { mod windows; pub use self::windows::*; } else if #[cfg(target_os = "macos")] { mod macos; pub use self::macos::*; } else { mod gtk; pub use self::gtk::*; } }