about summary refs log tree commit diff
path: root/library/std/src/sys/mod.rs
diff options
context:
space:
mode:
authorChristiaan Dirkx <christiaan@dirkx.email>2021-03-04 15:39:31 +0100
committerChristiaan Dirkx <christiaan@dirkx.email>2021-05-03 16:56:21 +0200
commit3edba7a806c2bb2ca78aec23baf1251eafe52c92 (patch)
tree924de751a0fc089b6f1db8fde3cd217c2cd798e9 /library/std/src/sys/mod.rs
parenta808fd44a331912b1fef05d2bfdce69809857133 (diff)
downloadrust-3edba7a806c2bb2ca78aec23baf1251eafe52c92.tar.gz
rust-3edba7a806c2bb2ca78aec23baf1251eafe52c92.zip
Move `std::sys::wasi::ext` to `std::os::wasi`
Diffstat (limited to 'library/std/src/sys/mod.rs')
-rw-r--r--library/std/src/sys/mod.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs
index 9906d5c4985..ac217db2eb3 100644
--- a/library/std/src/sys/mod.rs
+++ b/library/std/src/sys/mod.rs
@@ -74,20 +74,3 @@ cfg_if::cfg_if! {
         pub mod c;
     }
 }
-
-#[cfg(doc)]
-#[cfg(not(any(
-    target_os = "hermit",
-    all(target_arch = "wasm32", not(target_os = "wasi")),
-    all(target_vendor = "fortanix", target_env = "sgx")
-)))]
-cfg_if::cfg_if! {
-    if #[cfg(target_os = "wasi")] {
-        #[stable(feature = "wasi_ext_doc", since = "1.35.0")]
-        pub use self::ext as wasi_ext;
-    }  else {
-        #[path = "wasi/ext/mod.rs"]
-        #[stable(feature = "wasi_ext_doc", since = "1.35.0")]
-        pub mod wasi_ext;
-    }
-}