about summary refs log tree commit diff
path: root/library/std/src/sys/hermit/fs.rs
AgeCommit message (Collapse)AuthorLines
2024-01-11std: begin moving platform support modules into `pal`joboet-468/+0
2023-07-28inline trivial (noop) flush callsThom Chiovoloni-0/+1
2023-05-01Inline AsRawFd implementationsKonrad Borowski-0/+1
2023-05-01Inline AsInner implementationsKonrad Borowski-0/+2
2023-03-19fix typo in the creation of OpenOptionStefan Lankes-1/+1
Due to this typo we have to build a workaround for issue hermitcore/libhermit-rs#191. RustyHermit is a tier 3 platform and backward compatibility does not have to be guaranteed.
2023-02-24remove code duplicationsStefan Lankes-1/+50
2023-02-24move IO traits to std/src/os/hermitStefan Lankes-3/+5
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-2/+2
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.
2022-11-29hermit: Remove unused exportsMartin Kröning-3/+1
2022-10-03Reduce CString allocations in std as much as possibleAlex Saveau-9/+4
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
2022-09-05Hermit: Add File::set_time stubMartin Kröning-0/+12
This is not supported on hermit yet. This change is required for compiling std.
2022-08-18Address reviewer commentsNick Cameron-1/+1
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2022-08-05non-linux platformsNick Cameron-3/+3
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-5/+5
2021-11-02more efficent File::read_buf impl for windows and unixDrMeepster-1/+5
2021-06-20Move `OsStringExt` and `OsStrExt` to `std::os`Christiaan Dirkx-1/+1
2021-05-19Move the implementation of `Path::exists` to `sys_common::fs` so platforms ↵Chris Denton-1/+1
can specialize it Windows implementation of `fs::try_exists`
2021-04-20Change uses of never typeChristiaan Dirkx-25/+25
2021-04-20Replace `Void` with never typeChristiaan Dirkx-6/+6
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-3/+9
2020-11-14Disambiguate symlink argument namesDavid Tolnay-2/+2
2020-10-12remove obsolete function divergeStefan Lankes-4/+0
2020-07-27mv std libs to library/mark-0/+402