diff options
| author | Stefan Lankes <slankes@eonerc.rwth-aachen.de> | 2022-12-06 20:31:43 +0100 |
|---|---|---|
| committer | Stefan Lankes <slankes@eonerc.rwth-aachen.de> | 2023-02-24 15:30:14 +0100 |
| commit | 7143379a528d7a26afbe835dd7e4bdca4bdb1412 (patch) | |
| tree | 8c4dd43751cdaf603f3ec9cffa1034c942b170d5 /library/std/src/os/hermit | |
| parent | 07c993eba8b76eae497e98433ae075b00f01be10 (diff) | |
add support of RustyHermit's BSD socket layer
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.
Diffstat (limited to 'library/std/src/os/hermit')
| -rw-r--r-- | library/std/src/os/hermit/io.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/std/src/os/hermit/io.rs b/library/std/src/os/hermit/io.rs new file mode 100644 index 00000000000..d8c741f7f4e --- /dev/null +++ b/library/std/src/os/hermit/io.rs @@ -0,0 +1,6 @@ +#![stable(feature = "rust1", since = "1.0.0")] + +use hermit_abi as abi; + +#[stable(feature = "rust1", since = "1.0.0")] +pub type RawFd = abi::FileDescriptor; |
