about summary refs log tree commit diff
path: root/library/std/src/os/net
AgeCommit message (Collapse)AuthorLines
2023-03-18Stabilise `unix_socket_abstract`John Millikin-4/+4
Fixes https://github.com/rust-lang/rust/issues/85410
2023-01-29Rollup merge of #106618 - jmillikin:os-net-rustdoc-wasm32, r=JohnTitorMatthias Krüger-0/+9
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-09Disable `linux_ext` in wasm32 and fortanix rustdoc builds.John Millikin-0/+9
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`.
2023-01-04relax reference requirement on from_abstract_namemllken-1/+1
2022-09-18Move `unix_socket_abstract` feature API to `SocketAddrExt`.John Millikin-0/+67
2022-09-18Adjust `tcp_quickack` feature to allow other `os::linux::net` features.John Millikin-8/+13
2022-08-13created tcpstream quickack traitBerend-Jan Lange-0/+106
for linux and android