Skip to content

Commit 8ad7bc3

Browse files
committed
Auto merge of rust-lang#74075 - sunfishcode:wasi-prelude-rawfd, r=alexcrichton
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.
2 parents b52522a + 83bd3d3 commit 8ad7bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/wasi/ext/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ pub mod prelude {
1818
pub use crate::sys::ext::fs::{DirEntryExt, FileExt, MetadataExt, OpenOptionsExt};
1919
#[doc(no_inline)]
2020
#[stable(feature = "rust1", since = "1.0.0")]
21-
pub use crate::sys::ext::io::{AsRawFd, FromRawFd, IntoRawFd};
21+
pub use crate::sys::ext::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
2222
}

0 commit comments

Comments
 (0)