about summary refs log tree commit diff
path: root/library/std/src/os/hermit
AgeCommit message (Collapse)AuthorLines
2025-02-02std: move network code into `sys`joboet-1/+1
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-08-01fix(os/hermit): `deny(unsafe_op_in_unsafe_fn)`Martin Kröning-0/+1
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-06-12export std::os::fd module on HermitOSStefan Lankes-12/+3
The HermitOS' IO interface is similiar to Unix. Consequently, this PR synchronize the FD implementation between both.
2024-04-23increase the readability by using the unique name for the hermit-abiStefan Lankes-1/+1
Take up suggestion from the discussions within rust-lang/rust#115984 to increase readability.
2023-02-24remove code duplicationsStefan Lankes-383/+49
2023-02-24move IO traits to std/src/os/hermitStefan Lankes-6/+398
By moving the IO traits, the RustyHermit support is harmonized to of other operating systems.
2023-02-24add support of RustyHermit's BSD socket layerStefan Lankes-0/+6
RustHermit publishs a new kernel interface and supports a common BSD socket layer. By supporting this interface, the implementation can be harmonized to other operating systems. To realize this socket layer, the handling of file descriptors is also harmonized to other operating systems.
2021-06-20Move `OsStringExt` and `OsStrExt` to `std::os`Christiaan Dirkx-1/+4
2021-05-03Move `std::sys::hermit::ext` to `std::os::hermit`Christiaan Dirkx-0/+51