std/sys/fs/
mod.rs
1#![deny(unsafe_op_in_unsafe_fn)]
2
3pub mod common;
4
5cfg_if::cfg_if! {
6 if #[cfg(target_family = "unix")] {
7 mod unix;
8 pub use unix::*;
9 } else if #[cfg(target_os = "windows")] {
10 mod windows;
11 pub use windows::*;
12 } else if #[cfg(target_os = "hermit")] {
13 mod hermit;
14 pub use hermit::*;
15 } else if #[cfg(target_os = "solid_asp3")] {
16 mod solid;
17 pub use solid::*;
18 } else if #[cfg(target_os = "uefi")] {
19 mod uefi;
20 pub use uefi::*;
21 } else if #[cfg(target_os = "wasi")] {
22 mod wasi;
23 pub use wasi::*;
24 } else {
25 mod unsupported;
26 pub use unsupported::*;
27 }
28}