Skip to content

Commit 1215965

Browse files
authored
Rollup merge of rust-lang#51642 - GuillaumeGomez:fix-unknown-windows-build, r=oli-obk
Fix unknown windows build Fixes rust-lang#51618.
2 parents 756b694 + 3c6c18d commit 1215965

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libstd/sys/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ cfg_if! {
6767
// (missing things in `libc` which is empty) so just omit everything
6868
// with an empty module
6969
#[unstable(issue = "0", feature = "std_internals")]
70+
#[allow(missing_docs)]
7071
pub mod unix_ext {}
7172
} else {
7273
// On other platforms like Windows document the bare bones of unix
@@ -80,11 +81,13 @@ cfg_if! {
8081
cfg_if! {
8182
if #[cfg(windows)] {
8283
// On windows we'll just be documenting what's already available
84+
#[allow(missing_docs)]
8385
pub use self::ext as windows_ext;
8486
} else if #[cfg(any(target_os = "cloudabi", target_arch = "wasm32"))] {
8587
// On CloudABI and wasm right now the shim below doesn't compile, so
8688
// just omit it
8789
#[unstable(issue = "0", feature = "std_internals")]
90+
#[allow(missing_docs)]
8891
pub mod windows_ext {}
8992
} else {
9093
// On all other platforms (aka linux/osx/etc) then pull in a "minimal"

0 commit comments

Comments
 (0)