diff options
| author | Dan Gohman <sunfish@mozilla.com> | 2020-07-03 15:56:50 -0700 |
|---|---|---|
| committer | Dan Gohman <sunfish@mozilla.com> | 2020-07-05 16:02:34 -0700 |
| commit | 83bd3d3975bd56e0bd959b5df8129e4ee21aeca3 (patch) | |
| tree | 1e154c2e183435e63b61d44b0b36345fdf02627d | |
| parent | 50fc24d8a172a853b5dfe40702d6550e3b8562ba (diff) | |
| download | rust-83bd3d3975bd56e0bd959b5df8129e4ee21aeca3.tar.gz rust-83bd3d3975bd56e0bd959b5df8129e4ee21aeca3.zip | |
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.
| -rw-r--r-- | src/libstd/sys/wasi/ext/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/wasi/ext/mod.rs b/src/libstd/sys/wasi/ext/mod.rs index 5f8b1cbfa0b..58c8c46c969 100644 --- a/src/libstd/sys/wasi/ext/mod.rs +++ b/src/libstd/sys/wasi/ext/mod.rs @@ -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}; } |
