| 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 |
