1//! Tests for [`rustix::io`]. 2 3#![cfg_attr(target_os = "wasi", feature(wasi_ext))] 4#![cfg_attr(io_lifetimes_use_std, feature(io_safety))] 5 6#[cfg(not(feature = "rustc-dep-of-std"))] 7#[cfg(not(windows))] 8#[cfg(not(target_os = "wasi"))] 9mod dup2_to_replace_stdio; 10#[cfg(not(feature = "rustc-dep-of-std"))] // TODO 11#[cfg(not(windows))] 12#[cfg(feature = "net")] 13#[cfg(not(target_os = "wasi"))] 14mod epoll; 15mod error; 16#[cfg(not(windows))] 17#[cfg(not(target_os = "wasi"))] 18mod eventfd; 19#[cfg(not(windows))] 20mod from_into; 21#[cfg(not(target_os = "redox"))] 22mod ioctl; 23mod pipe; 24mod poll; 25#[cfg(all(feature = "procfs", any(target_os = "android", target_os = "linux")))] 26mod procfs; 27#[cfg(not(windows))] 28#[cfg(not(target_os = "redox"))] // redox doesn't have cwd/openat 29#[cfg(not(target_os = "wasi"))] // wasi support for S_IRUSR etc. submitted to libc in #2264 30mod read_write; 31#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "android"))] 32mod seals; 33