1 2 3 4 5 6 7 8 9 10 11 12 13
#![windows_subsystem = "windows"] #![warn(clippy::undocumented_unsafe_blocks)] #[cfg(target_os = "windows")] #[path = "windows.rs"] mod imp; #[cfg(not(target_os = "windows"))] mod imp { pub fn main() {} } pub use imp::*;