about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-06-26 11:35:35 +0200
committerGitHub <noreply@github.com>2018-06-26 11:35:35 +0200
commit1215965a12f94b0e304b41ebf71d17f988f42f96 (patch)
tree284401da29d0590524696efb14748d3185ecf223 /src/libstd/sys
parent756b69492b9cd4c3a3ee16514ed32764e0a059d3 (diff)
parent3c6c18d095b7cdafadffcc7ae3c39b037e4e793d (diff)
downloadrust-1215965a12f94b0e304b41ebf71d17f988f42f96.tar.gz
rust-1215965a12f94b0e304b41ebf71d17f988f42f96.zip
Rollup merge of #51642 - GuillaumeGomez:fix-unknown-windows-build, r=oli-obk
Fix unknown windows build

Fixes #51618.
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/sys/mod.rs b/src/libstd/sys/mod.rs
index 1231898ed7e..c44db3b1072 100644
--- a/src/libstd/sys/mod.rs
+++ b/src/libstd/sys/mod.rs
@@ -67,6 +67,7 @@ cfg_if! {
         // (missing things in `libc` which is empty) so just omit everything
         // with an empty module
         #[unstable(issue = "0", feature = "std_internals")]
+        #[allow(missing_docs)]
         pub mod unix_ext {}
     } else {
         // On other platforms like Windows document the bare bones of unix
@@ -80,11 +81,13 @@ cfg_if! {
 cfg_if! {
     if #[cfg(windows)] {
         // On windows we'll just be documenting what's already available
+        #[allow(missing_docs)]
         pub use self::ext as windows_ext;
     } else if #[cfg(any(target_os = "cloudabi", target_arch = "wasm32"))] {
         // On CloudABI and wasm right now the shim below doesn't compile, so
         // just omit it
         #[unstable(issue = "0", feature = "std_internals")]
+        #[allow(missing_docs)]
         pub mod windows_ext {}
     } else {
         // On all other platforms (aka linux/osx/etc) then pull in a "minimal"