diff options
| author | Christiaan Dirkx <christiaan@dirkx.email> | 2021-03-04 14:14:44 +0100 |
|---|---|---|
| committer | Christiaan Dirkx <christiaan@dirkx.email> | 2021-05-03 16:56:20 +0200 |
| commit | 7024bfffbdd1fb3dafa3f263f6d10fd2aed2ff2d (patch) | |
| tree | 75237bc9e079811d21c3bde8c450ffbc251673e9 /library/std/src/os/hermit/mod.rs | |
| parent | 0e2cd33db84a4787391989c69ed3ce70ce8c07ec (diff) | |
| download | rust-7024bfffbdd1fb3dafa3f263f6d10fd2aed2ff2d.tar.gz rust-7024bfffbdd1fb3dafa3f263f6d10fd2aed2ff2d.zip | |
Move `std::sys::hermit::ext` to `std::os::hermit`
Diffstat (limited to 'library/std/src/os/hermit/mod.rs')
| -rw-r--r-- | library/std/src/os/hermit/mod.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/library/std/src/os/hermit/mod.rs b/library/std/src/os/hermit/mod.rs new file mode 100644 index 00000000000..4657b545a1b --- /dev/null +++ b/library/std/src/os/hermit/mod.rs @@ -0,0 +1,13 @@ +#![stable(feature = "rust1", since = "1.0.0")] + +pub mod ffi; + +/// A prelude for conveniently writing platform-specific code. +/// +/// Includes all extension traits, and some important type definitions. +#[stable(feature = "rust1", since = "1.0.0")] +pub mod prelude { + #[doc(no_inline)] + #[stable(feature = "rust1", since = "1.0.0")] + pub use super::ffi::{OsStrExt, OsStringExt}; +} |
