#
std/sys/fd/
mod.rs

    1//! Platform-dependent file descriptor abstraction.
    2
    3#![forbid(unsafe_op_in_unsafe_fn)]
    4
    5cfg_if::cfg_if! {
    6    if #[cfg(target_family = "unix")] {
    7        mod unix;
    8        pub use unix::*;
    9    } else if #[cfg(target_os = "hermit")] {
    10        mod hermit;
    11        pub use hermit::*;
    12    } else if #[cfg(all(target_vendor = "fortanix", target_env = "sgx"))] {
    13        mod sgx;
    14        pub use sgx::*;
    15    } else if #[cfg(target_os = "wasi")] {
    16        mod wasi;
    17        pub use wasi::*;
    18    }
    19}