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

@@ -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")]