Skip to content

Commit d3046fe

Browse files
Rollup merge of rust-lang#51642 - GuillaumeGomez:fix-unknown-windows-build, r=oli-obk
Fix unknown windows build Fixes rust-lang#51618.
2 parents 9ba419b + d259f43 commit d3046fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/sys/mod.rs

Lines changed: 2 additions & 0 deletions
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,6 +81,7 @@ 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

0 commit comments

Comments
 (0)