mod.rs - source
Description: Source of the Rust file `library/std/src/sys/stdio/mod.rs`.

#
std/sys/stdio/
mod.rs

    1#![forbid(unsafe_op_in_unsafe_fn)]
    2
    3cfg_select! {
    4    any(target_family = "unix", target_os = "hermit", target_os = "wasi") => {
    5        mod unix;
    6        pub use unix::*;
    7    }
    8    target_os = "windows" => {
    9        mod windows;
    10        pub use windows::*;
    11    }
    12    all(target_vendor = "fortanix", target_env = "sgx") => {
    13        mod sgx;
    14        pub use sgx::*;
    15    }
    16    target_os = "motor" => {
    17        mod motor;
    18        pub use motor::*;
    19    }
    20    target_os = "solid_asp3" => {
    21        mod solid;
    22        pub use solid::*;
    23    }
    24    target_os = "teeos" => {
    25        mod teeos;
    26        pub use teeos::*;
    27    }
    28    target_os = "trusty" => {
    29        mod trusty;
    30        pub use trusty::*;
    31    }
    32    target_os = "uefi" => {
    33        mod uefi;
    34        pub use uefi::*;
    35    }
    36    target_os = "vexos" => {
    37        mod vexos;
    38        pub use vexos::*;
    39    }
    40    target_os = "xous" => {
    41        mod xous;
    42        pub use xous::*;
    43    }
    44    target_os = "zkvm" => {
    45        mod zkvm;
    46        pub use zkvm::*;
    47    }
    48    _ => {
    49        mod unsupported;
    50        pub use unsupported::*;
    51    }
    52}