Skip to content

Commit

Permalink
Auto merge of rust-lang#74075 - sunfishcode:wasi-prelude-rawfd, r=ale…
Browse files Browse the repository at this point in the history
…xcrichton

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
Original file line number Diff line number Diff line change
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.