summaryrefslogtreecommitdiffstats
path: root/third_party/rust/iovec/src/sys/mod.rs
blob: 3e0efc99e8761b0c00dbde2d69c39d20debc3552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#[cfg(unix)]
mod unix;

#[cfg(unix)]
pub use self::unix::{
    IoVec,
    MAX_LENGTH,
};

#[cfg(windows)]
mod windows;

#[cfg(windows)]
pub use self::windows::{
    IoVec,
    MAX_LENGTH,
};

#[cfg(not(any(windows, unix)))]
mod unknown;

#[cfg(not(any(windows, unix)))]
pub use self::unknown::{
    IoVec,
    MAX_LENGTH,
};