forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#126346 - hermit-os:fd, r=Amanieu
export std::os::fd module on HermitOS The HermitOS' IO interface is similiar to Unix. Consequently, this PR synchronize the FD implementation between both. closes rust-lang#126198
- Loading branch information
Showing
2 changed files
with
4 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters