1 | //! Platform-specific functionality. |
---|---|
2 | |
3 | #[cfg(unix)] |
4 | pub mod unix; |
5 | |
6 | #[cfg(any( |
7 | target_os = "macos", |
8 | target_os = "ios", |
9 | target_os = "tvos", |
10 | target_os = "watchos", |
11 | target_os = "freebsd", |
12 | target_os = "netbsd", |
13 | target_os = "openbsd", |
14 | target_os = "dragonfly", |
15 | ))] |
16 | pub mod kqueue; |
17 | |
18 | #[cfg(windows)] |
19 | pub mod windows; |
20 |