1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#[cfg(any(target_os = "android", target_os = "linux"))] mod linux; #[cfg(any(target_os = "android", target_os = "linux"))] pub use self::linux::*; #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "macos", target_os = "netbsd", target_os = "openbsd"))] mod bsd; #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "macos", target_os = "netbsd", target_os = "openbsd" ))] pub use self::bsd::*;