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