about summary refs log tree commit diff
path: root/library/std/src/sys/path/mod.rs
blob: 24a94ec782824d6ef8be9304335471ea4d2ab57f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cfg_if::cfg_if! {
    if #[cfg(target_os = "windows")] {
        mod windows;
        pub use windows::*;
    } else if #[cfg(all(target_vendor = "fortanix", target_env = "sgx"))] {
        mod sgx;
        pub use sgx::*;
    } else if #[cfg(any(
        target_os = "uefi",
        target_os = "solid_asp3",
    ))] {
        mod unsupported_backslash;
        pub use unsupported_backslash::*;
    } else {
        mod unix;
        pub use unix::*;
    }
}