about summary refs log tree commit diff
path: root/library/std/src/os/hermit
diff options
context:
space:
mode:
authorStefan Lankes <slankes@eonerc.rwth-aachen.de>2024-06-12 20:18:33 +0200
committerStefan Lankes <slankes@eonerc.rwth-aachen.de>2024-06-12 20:46:52 +0200
commitc462328382b9fc1c39ffca3f519f7559717b2ccc (patch)
tree1dffea0d0a52884df5dcf4e6c161ed4621eec847 /library/std/src/os/hermit
parentbbe9a9c20bac888efae2c7f033fb6cb3925a65b7 (diff)
export std::os::fd module on HermitOS
The HermitOS' IO interface is similiar to Unix. Consequently,
this PR synchronize the FD implementation between both.
Diffstat (limited to 'library/std/src/os/hermit')
-rw-r--r--library/std/src/os/hermit/io/mod.rs15
1 files changed, 3 insertions, 12 deletions
diff --git a/library/std/src/os/hermit/io/mod.rs b/library/std/src/os/hermit/io/mod.rs
index 524dfae0d63..df93f63a003 100644
--- a/library/std/src/os/hermit/io/mod.rs
+++ b/library/std/src/os/hermit/io/mod.rs
@@ -1,13 +1,4 @@
-#![stable(feature = "os_fd", since = "1.66.0")]
+#![stable(feature = "rust1", since = "1.0.0")]
 
-mod net;
-#[path = "../../fd/owned.rs"]
-mod owned;
-#[path = "../../fd/raw.rs"]
-mod raw;
-
-// Export the types and traits for the public API.
-#[stable(feature = "os_fd", since = "1.66.0")]
-pub use owned::*;
-#[stable(feature = "os_fd", since = "1.66.0")]
-pub use raw::*;
+#[stable(feature = "rust1", since = "1.0.0")]
+pub use crate::os::fd::*;