Move std::sys::hermit::ext to std::os::hermit

This commit is contained in:
Christiaan Dirkx 2021-03-04 14:14:44 +01:00
parent 0e2cd33db8
commit 7024bfffbd
4 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,4 @@
#![stable(feature = "rust1", since = "1.0.0")]
#![allow(missing_docs)]
pub mod ffi;

View File

@ -48,7 +48,12 @@ cfg_if::cfg_if! {
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]
pub mod fortanix_sgx;
#[cfg(any(unix, target_os = "hermit"))]
#[cfg(target_os = "hermit")]
mod hermit;
#[cfg(target_os = "hermit")]
pub use hermit as unix;
#[cfg(unix)]
#[stable(feature = "rust1", since = "1.0.0")]
pub use crate::sys::ext as unix;
#[cfg(target_os = "android")]

View File

@ -24,7 +24,6 @@ pub mod args;
pub mod cmath;
pub mod condvar;
pub mod env;
pub mod ext;
pub mod fd;
pub mod fs;
#[path = "../unsupported/io.rs"]