std/sys/fd/mod.rs
1//! Platform-dependent file descriptor abstraction.
2
3#![forbid(unsafe_op_in_unsafe_fn)]
4
5cfg_select! {
6 target_family = "unix" => {
7 mod unix;
8 pub use unix::*;
9 }
10 target_os = "hermit" => {
11 mod hermit;
12 pub use hermit::*;
13 }
14 all(target_vendor = "fortanix", target_env = "sgx") => {
15 mod sgx;
16 pub use sgx::*;
17 }
18 target_os = "wasi" => {
19 mod wasi;
20 pub use wasi::*;
21 }
22 _ => {}
23}