about summary refs log tree commit diff
path: root/library/std/src/os/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/os/mod.rs')
-rw-r--r--library/std/src/os/mod.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/library/std/src/os/mod.rs b/library/std/src/os/mod.rs
index fc684f0912f..85ffe8adb1f 100644
--- a/library/std/src/os/mod.rs
+++ b/library/std/src/os/mod.rs
@@ -23,8 +23,7 @@ cfg_if::cfg_if! {
         #[stable(feature = "wasi_ext_doc", since = "1.35.0")]
         pub use crate::sys::wasi_ext as wasi;
 
-        #[stable(feature = "rust1", since = "1.0.0")]
-        pub use crate::sys::windows_ext as windows;
+        pub mod windows;
     } else if #[cfg(doc)] {
         // On certain platforms right now the "main modules" modules that are
         // documented don't compile (missing things in `libc` which is empty),
@@ -94,7 +93,6 @@ cfg_if::cfg_if! {
         pub mod wasi;
 
         #[cfg(windows)]
-        #[stable(feature = "rust1", since = "1.0.0")]
-        pub use crate::sys::ext as windows;
+        pub mod windows;
     }
 }