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"))] 9 mod 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"))] 14 mod epoll; 15 mod error; 16 #[cfg(not(windows))] 17 #[cfg(not(target_os = "wasi"))] 18 mod eventfd; 19 #[cfg(not(windows))] 20 mod from_into; 21 #[cfg(not(target_os = "redox"))] 22 mod ioctl; 23 mod pipe; 24 mod poll; 25 #[cfg(all(feature = "procfs", any(target_os = "android", target_os = "linux")))] 26 mod 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 30 mod read_write; 31 #[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "android"))] 32 mod seals; 33