1 2 3 4 5 6 7 8 9 10 11
#[cfg(target_os = "macos")] include!("osx.rs"); #[cfg(target_os = "linux")] include!(env!("LINUX_TERM_LIB")); #[cfg(target_os = "windows")] include!("windows.rs"); #[cfg(target_os = "freebsd")] include!("bsd.rs");