• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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]
11 mod weak;
12 
13 mod cpu_set;
14 #[cfg(not(target_os = "wasi"))] // WASI doesn't have get[gpu]id.
15 mod id;
16 #[cfg(any(target_os = "android", target_os = "linux"))]
17 mod membarrier;
18 #[cfg(any(target_os = "android", target_os = "linux"))]
19 mod prctl;
20 #[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))] // WASI doesn't have [gs]etpriority.
21 mod priority;
22 #[cfg(target_os = "freebsd")]
23 mod procctl;
24 #[cfg(not(any(target_os = "fuchsia", target_os = "redox", target_os = "wasi")))]
25 mod rlimit;
26 mod sched_yield;
27 #[cfg(not(target_os = "wasi"))] // WASI doesn't have uname.
28 mod uname;
29 #[cfg(not(target_os = "wasi"))] // WASI doesn't have waitpid.
30 mod wait;
31 #[cfg(not(any(target_os = "redox", target_os = "wasi")))]
32 mod working_directory;
33