1 2 3 4 5 6 7 8 9 10
cfg_if::cfg_if! { if #[cfg(target_family = "unix")] { mod posix; pub use posix::*; } else { mod c11; pub use c11::*; } }