rust/library/std/src/os/net
Matthias Krüger 0f86ada9d8
Rollup merge of #106618 - jmillikin:os-net-rustdoc-wasm32, r=JohnTitor
Disable `linux_ext` in wasm32 and fortanix rustdoc builds.

The `std::os::unix` module is stubbed out when building docs for these target platforms. The introduction of Linux-specific extension traits caused `std::os::net` to depend on sub-modules of `std::os::unix`, which broke rustdoc for the `wasm32-unknown-unknown` target.

Adding an additional `#[cfg]` guard solves that rustdoc failure by not declaring `linux_ext` on targets with a stubbed `std::os::unix`.

Fixes #105467
2023-01-29 06:14:16 +01:00
..
linux_ext relax reference requirement on from_abstract_name 2023-01-04 12:47:43 +07:00
mod.rs Disable linux_ext in wasm32 and fortanix rustdoc builds. 2023-01-09 14:07:05 +09:00