about summary refs log tree commit diff
path: root/library/std/src/sys/anonymous_pipe/mod.rs
blob: 74875677cf3e7fff331c1b9118b3c33cddfd8645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cfg_if::cfg_if! {
    if #[cfg(unix)] {
        mod unix;
        pub(crate) use unix::{AnonPipe, pipe};

        #[cfg(all(test, not(miri)))]
        mod tests;
    } else if #[cfg(windows)] {
        mod windows;
        pub(crate) use windows::{AnonPipe, pipe};

        #[cfg(all(test, not(miri)))]
        mod tests;
    } else {
        mod unsupported;
        pub(crate) use unsupported::{AnonPipe, pipe};
    }
}