Skip to content

Commit

Permalink
Auto merge of #74075 - sunfishcode:wasi-prelude-rawfd, r=alexcrichton
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jul 21, 2020
2 parents b52522a + 83bd3d3 commit 8ad7bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/wasi/ext/mod.rs
Expand Up @@ -18,5 +18,5 @@ pub mod prelude {
pub use crate::sys::ext::fs::{DirEntryExt, FileExt, MetadataExt, OpenOptionsExt};
#[doc(no_inline)]
#[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};
}

0 comments on commit 8ad7bc3

Please sign in to comment.