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