Add RawFd
to WASI's std::os::wasi::prelude
.
Add `RawFd` to WASI's `std::os::wasi::prelude`, making it consistent with all other platforms which also have `AsRawFd`, `FromRawFd`, and `IntoRawFd` in their respective preludes.
This commit is contained in:
parent
50fc24d8a1
commit
83bd3d3975
1 changed files with 1 additions and 1 deletions
|
@ -18,5 +18,5 @@ pub mod prelude {
|
||||||
pub use crate::sys::ext::fs::{DirEntryExt, FileExt, MetadataExt, OpenOptionsExt};
|
pub use crate::sys::ext::fs::{DirEntryExt, FileExt, MetadataExt, OpenOptionsExt};
|
||||||
#[doc(no_inline)]
|
#[doc(no_inline)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use crate::sys::ext::io::{AsRawFd, FromRawFd, IntoRawFd};
|
pub use crate::sys::ext::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue