about summary refs log tree commit diff
path: root/library/std/src/sys/pal/sgx/net.rs
AgeCommit message (Collapse)AuthorLines
2025-02-02std: move network code into `sys`joboet-536/+0
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.
2024-10-08Change a few `&Option<T>` into `Option<&T>`Yuri Astrakhan-7/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+2
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-04-11Factor some common `io::Error` constantsBenoƮt du Garreau-12/+3
2024-03-12Allow dead code in sys/palArthur Carcano-0/+2
The dead_code lint was previously eroneously missing this dead code. Since this lint bug has been fixed, the unused field need to be removed or marked as `#[allow(dead_code)]`. These structures API is common to all platforms so the code cannot be removed and is hence marked allow(dead_code).
2024-02-05Remove unused structr0cky-3/+0
2024-01-11std: begin moving platform support modules into `pal`joboet-0/+548