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