diff options
| author | Christiaan Dirkx <christiaan@dirkx.email> | 2021-03-04 15:15:26 +0100 |
|---|---|---|
| committer | Christiaan Dirkx <christiaan@dirkx.email> | 2021-05-03 16:56:20 +0200 |
| commit | ffc20e48de64f73ea57b6b7c121e2b50de30097f (patch) | |
| tree | 940d3816f1f7c9605615d5ab47313ef748a1411a /library/std/src/sys/mod.rs | |
| parent | 7024bfffbdd1fb3dafa3f263f6d10fd2aed2ff2d (diff) | |
| download | rust-ffc20e48de64f73ea57b6b7c121e2b50de30097f.tar.gz rust-ffc20e48de64f73ea57b6b7c121e2b50de30097f.zip | |
Move `std::sys::windows::ext` to `std::os::windows`
Diffstat (limited to 'library/std/src/sys/mod.rs')
| -rw-r--r-- | library/std/src/sys/mod.rs | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs index 33e68d12b0a..6b38f62dfe5 100644 --- a/library/std/src/sys/mod.rs +++ b/library/std/src/sys/mod.rs @@ -78,23 +78,16 @@ cfg_if::cfg_if! { all(target_vendor = "fortanix", target_env = "sgx") )))] cfg_if::cfg_if! { - if #[cfg(windows)] { - #[allow(missing_docs)] - #[stable(feature = "rust1", since = "1.0.0")] - pub use self::ext as windows_ext; - } else { + if #[cfg(not(windows))] { // On non-Windows platforms (aka linux/osx/etc) pull in a "minimal" // amount of windows goop which ends up compiling #[macro_use] #[path = "windows/compat.rs"] - mod compat; + pub mod compat; #[path = "windows/c.rs"] - mod c; - - #[path = "windows/ext/mod.rs"] - pub mod windows_ext; + pub mod c; } } |
