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:
Dan Gohman 2020-07-03 15:56:50 -07:00
parent 50fc24d8a1
commit 83bd3d3975

View file

@ -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};
} }