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