]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sys_common/mod.rs
Add x86_64-fortanix-unknown-sgx target to libstd and dependencies
[rust.git] / src / libstd / sys_common / mod.rs
index 7fb273826cc4cc300be650b202c9e2177489318c..881794d9f16da4b7ada8f45bddab490fda957f4e 100644 (file)
@@ -38,6 +38,7 @@ macro_rules! rtassert {
     })
 }
 
+pub mod alloc;
 pub mod at_exit_imp;
 #[cfg(feature = "backtrace")]
 pub mod backtrace;
@@ -54,12 +55,13 @@ macro_rules! rtassert {
 pub mod wtf8;
 pub mod bytestring;
 pub mod process;
-pub mod unixsocket;
 
 cfg_if! {
-    if #[cfg(any(target_os = "cloudabi", target_os = "l4re", target_os = "redox"))] {
-        pub use sys::net;
-    } else if #[cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))] {
+    if #[cfg(any(target_os = "cloudabi",
+                 target_os = "l4re",
+                 target_os = "redox",
+                 all(target_arch = "wasm32", not(target_os = "emscripten")),
+                 target_env = "sgx"))] {
         pub use sys::net;
     } else {
         pub mod net;