diff options
| author | joboet <jonasboettiger@icloud.com> | 2025-02-02 18:53:52 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2025-02-02 19:12:06 +0100 |
| commit | 4f834264ab8d0cb95ac7972532661c84a154667e (patch) | |
| tree | 8a03c78c8ca1dd14d894be5a44834492b3fd11de /library/std/src/sys/mod.rs | |
| parent | 6dd75f0d6802f56564f5f9c947a85ded286d3986 (diff) | |
| download | rust-4f834264ab8d0cb95ac7972532661c84a154667e.tar.gz rust-4f834264ab8d0cb95ac7972532661c84a154667e.zip | |
std: move network code into `sys`
As per #117276, this PR moves `sys_common::net` and the `sys::pal::net` into the newly created `sys::net` module. In order to support #135141, I've moved all the current network code into a separate `connection` module, future functions like `hostname` can live in separate modules. I'll probably do a follow-up PR and clean up some of the actual code, this is mostly just a reorganization.
Diffstat (limited to 'library/std/src/sys/mod.rs')
| -rw-r--r-- | library/std/src/sys/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs index f17dd47dece..39a0bc6e337 100644 --- a/library/std/src/sys/mod.rs +++ b/library/std/src/sys/mod.rs @@ -12,6 +12,7 @@ pub mod anonymous_pipe; pub mod backtrace; pub mod cmath; pub mod exit_guard; +pub mod net; pub mod os_str; pub mod path; pub mod random; |
