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! {
23
23
#[ stable( feature = "wasi_ext_doc" , since = "1.35.0" ) ]
24
24
pub use crate :: sys:: wasi_ext as wasi;
25
25
26
- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
27
- pub use crate :: sys:: windows_ext as windows;
26
+ pub mod windows;
28
27
} else if #[ cfg( doc) ] {
29
28
// On certain platforms right now the "main modules" modules that are
30
29
// documented don't compile (missing things in `libc` which is empty),
@@ -94,7 +93,6 @@ cfg_if::cfg_if! {
94
93
pub mod wasi;
95
94
96
95
#[ cfg( windows) ]
97
- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
98
- pub use crate :: sys:: ext as windows;
96
+ pub mod windows;
99
97
}
100
98
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 8
8
9
9
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
10
10
#![ doc( cfg( windows) ) ]
11
- #![ allow( missing_docs) ]
12
11
13
12
pub mod ffi;
14
13
pub 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! {
78
78
all( target_vendor = "fortanix" , target_env = "sgx" )
79
79
) ) ) ]
80
80
cfg_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) ) ] {
86
82
// On non-Windows platforms (aka linux/osx/etc) pull in a "minimal"
87
83
// amount of windows goop which ends up compiling
88
84
89
85
#[ macro_use]
90
86
#[ path = "windows/compat.rs" ]
91
- mod compat;
87
+ pub mod compat;
92
88
93
89
#[ path = "windows/c.rs" ]
94
- mod c;
95
-
96
- #[ path = "windows/ext/mod.rs" ]
97
- pub mod windows_ext;
90
+ pub mod c;
98
91
}
99
92
}
100
93
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ pub mod c;
18
18
pub mod cmath;
19
19
pub mod condvar;
20
20
pub mod env;
21
- pub mod ext;
22
21
pub mod fs;
23
22
pub mod handle;
24
23
pub mod io;
You can’t perform that action at this time.
0 commit comments