diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-06-20 00:04:59 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-06-20 00:07:41 +0200 |
| commit | d259f4364738d911128d6e8ad863d0066733a343 (patch) | |
| tree | ad2605a37132dab7d9a4de72713036dbdfe531dc | |
| parent | d692ab406ebab720f99f950ac3e9aba1e01296af (diff) | |
| download | rust-d259f4364738d911128d6e8ad863d0066733a343.tar.gz rust-d259f4364738d911128d6e8ad863d0066733a343.zip | |
Fix doc build on unknown windows target
| -rw-r--r-- | src/libstd/sys/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/sys/mod.rs b/src/libstd/sys/mod.rs index 1231898ed7e..b5bf4044be4 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,6 +81,7 @@ 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 |
