xref: /drstd/src/std/os/net/mod.rs (revision 0fe3ff0054d3aec7fbf9bddecfecb10bc7d23a51)
1 //! OS-specific networking functionality.
2 
3 // See cfg macros in `library/std/src/os/mod.rs` for why these platforms must
4 // be special-cased during rustdoc generation.
5 #[cfg(not(all(
6     doc,
7     any(
8         all(target_arch = "wasm32", not(target_os = "wasi")),
9         all(target_vendor = "fortanix", target_env = "sgx")
10     )
11 )))]
12 #[cfg(any(target_os = "linux", target_os = "android", doc))]
13 pub(super) mod linux_ext;
14 
15 #[cfg(target_os = "dragonos")]
16 pub(super) mod linux_ext;
17