| 1 | #![forbid(unsafe_op_in_unsafe_fn)] |
|---|---|
| 2 | |
| 3 | cfg_if::cfg_if! { |
| 4 | if #[cfg(unix)] { |
| 5 | mod unix; |
| 6 | pub use unix::{AnonPipe, pipe}; |
| 7 | } else if #[cfg(windows)] { |
| 8 | mod windows; |
| 9 | pub use windows::{AnonPipe, pipe}; |
| 10 | } else { |
| 11 | mod unsupported; |
| 12 | pub use unsupported::{AnonPipe, pipe}; |
| 13 | } |
| 14 | } |
| 15 |
