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