1 2 3 4 5 6 7 8 9
#[cfg(not(windows))] mod linux; #[cfg(not(windows))] pub use linux::openpty; #[cfg(windows)] mod windows; #[cfg(windows)] pub use windows::openpty;