File tree Expand file tree Collapse file tree 10 files changed +5
-16
lines changed Expand file tree Collapse file tree 10 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ cfg_if::cfg_if! {
2323 #[ stable( feature = "wasi_ext_doc" , since = "1.35.0" ) ]
2424 pub use crate :: sys:: wasi_ext as wasi;
2525
26- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
27- pub use crate :: sys:: windows_ext as windows;
26+ pub mod windows;
2827 } else if #[ cfg( doc) ] {
2928 // On certain platforms right now the "main modules" modules that are
3029 // documented don't compile (missing things in `libc` which is empty),
@@ -94,7 +93,6 @@ cfg_if::cfg_if! {
9493 pub mod wasi;
9594
9695 #[ cfg( windows) ]
97- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
98- pub use crate :: sys:: ext as windows;
96+ pub mod windows;
9997 }
10098}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 88
99#![ stable( feature = "rust1" , since = "1.0.0" ) ]
1010#![ doc( cfg( windows) ) ]
11- #![ allow( missing_docs) ]
1211
1312pub mod ffi;
1413pub mod fs;
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -78,23 +78,16 @@ cfg_if::cfg_if! {
7878 all( target_vendor = "fortanix" , target_env = "sgx" )
7979) ) ) ]
8080cfg_if:: cfg_if! {
81- if #[ cfg( windows) ] {
82- #[ allow( missing_docs) ]
83- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
84- pub use self :: ext as windows_ext;
85- } else {
81+ if #[ cfg( not( windows) ) ] {
8682 // On non-Windows platforms (aka linux/osx/etc) pull in a "minimal"
8783 // amount of windows goop which ends up compiling
8884
8985 #[ macro_use]
9086 #[ path = "windows/compat.rs" ]
91- mod compat;
87+ pub mod compat;
9288
9389 #[ path = "windows/c.rs" ]
94- mod c;
95-
96- #[ path = "windows/ext/mod.rs" ]
97- pub mod windows_ext;
90+ pub mod c;
9891 }
9992}
10093
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ pub mod c;
1818pub mod cmath;
1919pub mod condvar;
2020pub mod env;
21- pub mod ext;
2221pub mod fs;
2322pub mod handle;
2423pub mod io;
You can’t perform that action at this time.
0 commit comments