From c1e440a90f472468c8069ba6254b23c6feedc32e Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 6 Oct 2019 15:26:14 +0000 Subject: redesign of the interface to the unikernel HermitCore - the old interface between HermitCore and the Rust Standard Library based on a small C library (newlib) - remove this interface and call directly the unikernel - remove the dependency to the HermitCore linker - use rust-lld as linker --- src/libstd/sys_common/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libstd/sys_common') diff --git a/src/libstd/sys_common/mod.rs b/src/libstd/sys_common/mod.rs index cba3eca5386..7a0bcd03d75 100644 --- a/src/libstd/sys_common/mod.rs +++ b/src/libstd/sys_common/mod.rs @@ -49,6 +49,7 @@ pub mod mutex; unix, target_os = "redox", target_os = "cloudabi", + target_os = "hermit", target_arch = "wasm32", all(target_vendor = "fortanix", target_env = "sgx")))] pub mod os_str_bytes; @@ -67,6 +68,7 @@ pub mod fs; cfg_if::cfg_if! { if #[cfg(any(target_os = "cloudabi", target_os = "l4re", + target_os = "hermit", all(target_arch = "wasm32", not(target_os = "emscripten")), all(target_vendor = "fortanix", target_env = "sgx")))] { pub use crate::sys::net; -- cgit 1.4.1-3-g733a5