1b8a62b91Sopenharmony_ci//! Tests for [`rustix::fs`]. 2b8a62b91Sopenharmony_ci 3b8a62b91Sopenharmony_ci#![cfg(feature = "fs")] 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_cimod cwd; 10b8a62b91Sopenharmony_cimod dir; 11b8a62b91Sopenharmony_cimod fcntl; 12b8a62b91Sopenharmony_cimod file; 13b8a62b91Sopenharmony_ci#[cfg(not(target_os = "wasi"))] 14b8a62b91Sopenharmony_cimod flock; 15b8a62b91Sopenharmony_cimod futimens; 16b8a62b91Sopenharmony_cimod invalid_offset; 17b8a62b91Sopenharmony_cimod long_paths; 18b8a62b91Sopenharmony_ci#[cfg(not(any( 19b8a62b91Sopenharmony_ci target_os = "dragonfly", 20b8a62b91Sopenharmony_ci target_os = "freebsd", 21b8a62b91Sopenharmony_ci target_os = "haiku", 22b8a62b91Sopenharmony_ci target_os = "illumos", 23b8a62b91Sopenharmony_ci target_os = "ios", 24b8a62b91Sopenharmony_ci target_os = "macos", 25b8a62b91Sopenharmony_ci target_os = "netbsd", 26b8a62b91Sopenharmony_ci target_os = "openbsd", 27b8a62b91Sopenharmony_ci target_os = "redox", 28b8a62b91Sopenharmony_ci target_os = "solaris", 29b8a62b91Sopenharmony_ci target_os = "wasi", 30b8a62b91Sopenharmony_ci)))] 31b8a62b91Sopenharmony_cimod makedev; 32b8a62b91Sopenharmony_cimod mkdirat; 33b8a62b91Sopenharmony_cimod mknodat; 34b8a62b91Sopenharmony_ci#[cfg(any(target_os = "android", target_os = "linux"))] 35b8a62b91Sopenharmony_cimod openat; 36b8a62b91Sopenharmony_ci#[cfg(any(target_os = "android", target_os = "linux"))] 37b8a62b91Sopenharmony_cimod openat2; 38b8a62b91Sopenharmony_cimod readdir; 39b8a62b91Sopenharmony_cimod renameat; 40b8a62b91Sopenharmony_ci#[cfg(not(any( 41b8a62b91Sopenharmony_ci target_os = "haiku", 42b8a62b91Sopenharmony_ci target_os = "illumos", 43b8a62b91Sopenharmony_ci target_os = "redox", 44b8a62b91Sopenharmony_ci target_os = "solaris", 45b8a62b91Sopenharmony_ci target_os = "wasi", 46b8a62b91Sopenharmony_ci)))] 47b8a62b91Sopenharmony_cimod statfs; 48b8a62b91Sopenharmony_ci#[cfg(any(target_os = "android", target_os = "linux"))] 49b8a62b91Sopenharmony_cimod statx; 50b8a62b91Sopenharmony_cimod utimensat; 51b8a62b91Sopenharmony_cimod y2038; 52