std/sys/path/
mod.rs

1cfg_if::cfg_if! {
2    if #[cfg(target_os = "windows")] {
3        mod windows;
4        mod windows_prefix;
5        pub use windows::*;
6    } else if #[cfg(all(target_vendor = "fortanix", target_env = "sgx"))] {
7        mod sgx;
8        pub use sgx::*;
9    } else if #[cfg(target_os = "solid_asp3")] {
10        mod unsupported_backslash;
11        pub use unsupported_backslash::*;
12    } else if #[cfg(target_os = "uefi")] {
13        mod uefi;
14        pub use uefi::*;
15    } else if #[cfg(target_os = "cygwin")] {
16        mod cygwin;
17        mod windows_prefix;
18        pub use cygwin::*;
19    } else {
20        mod unix;
21        pub use unix::*;
22    }
23}