1b8a62b91Sopenharmony_ci//! Tests for [`rustix::process`].
2b8a62b91Sopenharmony_ci
3b8a62b91Sopenharmony_ci#![cfg(feature = "process")]
4b8a62b91Sopenharmony_ci#![cfg(not(windows))]
5b8a62b91Sopenharmony_ci#![cfg_attr(target_os = "wasi", feature(wasi_ext))]
6b8a62b91Sopenharmony_ci#![cfg_attr(io_lifetimes_use_std, feature(io_safety))]
7b8a62b91Sopenharmony_ci#![cfg_attr(core_c_str, feature(core_c_str))]
8b8a62b91Sopenharmony_ci
9b8a62b91Sopenharmony_ci#[cfg(not(target_os = "wasi"))]
10b8a62b91Sopenharmony_ci#[macro_use]
11b8a62b91Sopenharmony_cimod weak;
12b8a62b91Sopenharmony_ci
13b8a62b91Sopenharmony_cimod cpu_set;
14b8a62b91Sopenharmony_ci#[cfg(not(target_os = "wasi"))] // WASI doesn't have get[gpu]id.
15b8a62b91Sopenharmony_cimod id;
16b8a62b91Sopenharmony_ci#[cfg(any(target_os = "android", target_os = "linux"))]
17b8a62b91Sopenharmony_cimod membarrier;
18b8a62b91Sopenharmony_ci#[cfg(any(target_os = "android", target_os = "linux"))]
19b8a62b91Sopenharmony_cimod prctl;
20b8a62b91Sopenharmony_ci#[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))] // WASI doesn't have [gs]etpriority.
21b8a62b91Sopenharmony_cimod priority;
22b8a62b91Sopenharmony_ci#[cfg(target_os = "freebsd")]
23b8a62b91Sopenharmony_cimod procctl;
24b8a62b91Sopenharmony_ci#[cfg(not(any(target_os = "fuchsia", target_os = "redox", target_os = "wasi")))]
25b8a62b91Sopenharmony_cimod rlimit;
26b8a62b91Sopenharmony_cimod sched_yield;
27b8a62b91Sopenharmony_ci#[cfg(not(target_os = "wasi"))] // WASI doesn't have uname.
28b8a62b91Sopenharmony_cimod uname;
29b8a62b91Sopenharmony_ci#[cfg(not(target_os = "wasi"))] // WASI doesn't have waitpid.
30b8a62b91Sopenharmony_cimod wait;
31b8a62b91Sopenharmony_ci#[cfg(not(any(target_os = "redox", target_os = "wasi")))]
32b8a62b91Sopenharmony_cimod working_directory;
33