Move std::sys::hermit::ext to std::os::hermit
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#![stable(feature = "rust1", since = "1.0.0")]
|
#![stable(feature = "rust1", since = "1.0.0")]
|
||||||
#![allow(missing_docs)]
|
|
||||||
|
|
||||||
pub mod ffi;
|
pub mod ffi;
|
||||||
|
|
||||||
@@ -48,7 +48,12 @@ cfg_if::cfg_if! {
|
|||||||
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]
|
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]
|
||||||
pub mod fortanix_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")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use crate::sys::ext as unix;
|
pub use crate::sys::ext as unix;
|
||||||
#[cfg(target_os = "android")]
|
#[cfg(target_os = "android")]
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ pub mod args;
|
|||||||
pub mod cmath;
|
pub mod cmath;
|
||||||
pub mod condvar;
|
pub mod condvar;
|
||||||
pub mod env;
|
pub mod env;
|
||||||
pub mod ext;
|
|
||||||
pub mod fd;
|
pub mod fd;
|
||||||
pub mod fs;
|
pub mod fs;
|
||||||
#[path = "../unsupported/io.rs"]
|
#[path = "../unsupported/io.rs"]
|
||||||
|
|||||||
Reference in New Issue
Block a user