|
13 | 13 | use io::{self, ErrorKind};
|
14 | 14 | use libc;
|
15 | 15 |
|
16 |
| -#[cfg(any(dox, target_os = "linux"))] pub use os::linux as platform; |
17 |
| - |
18 |
| -#[cfg(all(not(dox), target_os = "android"))] pub use os::android as platform; |
19 |
| -#[cfg(all(not(dox), target_os = "bitrig"))] pub use os::bitrig as platform; |
20 |
| -#[cfg(all(not(dox), target_os = "dragonfly"))] pub use os::dragonfly as platform; |
21 |
| -#[cfg(all(not(dox), target_os = "freebsd"))] pub use os::freebsd as platform; |
22 |
| -#[cfg(all(not(dox), target_os = "haiku"))] pub use os::haiku as platform; |
23 |
| -#[cfg(all(not(dox), target_os = "ios"))] pub use os::ios as platform; |
24 |
| -#[cfg(all(not(dox), target_os = "macos"))] pub use os::macos as platform; |
25 |
| -#[cfg(all(not(dox), target_os = "netbsd"))] pub use os::netbsd as platform; |
26 |
| -#[cfg(all(not(dox), target_os = "openbsd"))] pub use os::openbsd as platform; |
27 |
| -#[cfg(all(not(dox), target_os = "solaris"))] pub use os::solaris as platform; |
28 |
| -#[cfg(all(not(dox), target_os = "emscripten"))] pub use os::emscripten as platform; |
29 |
| -#[cfg(all(not(dox), target_os = "fuchsia"))] pub use os::fuchsia as platform; |
30 |
| -#[cfg(all(not(dox), target_os = "l4re"))] pub use os::linux as platform; |
31 |
| -#[cfg(all(not(dox), target_os = "hermit"))] pub use os::hermit as platform; |
| 16 | +#[cfg(any(rustdoc, target_os = "linux"))] pub use os::linux as platform; |
| 17 | + |
| 18 | +#[cfg(all(not(rustdoc), target_os = "android"))] pub use os::android as platform; |
| 19 | +#[cfg(all(not(rustdoc), target_os = "bitrig"))] pub use os::bitrig as platform; |
| 20 | +#[cfg(all(not(rustdoc), target_os = "dragonfly"))] pub use os::dragonfly as platform; |
| 21 | +#[cfg(all(not(rustdoc), target_os = "freebsd"))] pub use os::freebsd as platform; |
| 22 | +#[cfg(all(not(rustdoc), target_os = "haiku"))] pub use os::haiku as platform; |
| 23 | +#[cfg(all(not(rustdoc), target_os = "ios"))] pub use os::ios as platform; |
| 24 | +#[cfg(all(not(rustdoc), target_os = "macos"))] pub use os::macos as platform; |
| 25 | +#[cfg(all(not(rustdoc), target_os = "netbsd"))] pub use os::netbsd as platform; |
| 26 | +#[cfg(all(not(rustdoc), target_os = "openbsd"))] pub use os::openbsd as platform; |
| 27 | +#[cfg(all(not(rustdoc), target_os = "solaris"))] pub use os::solaris as platform; |
| 28 | +#[cfg(all(not(rustdoc), target_os = "emscripten"))] pub use os::emscripten as platform; |
| 29 | +#[cfg(all(not(rustdoc), target_os = "fuchsia"))] pub use os::fuchsia as platform; |
| 30 | +#[cfg(all(not(rustdoc), target_os = "l4re"))] pub use os::linux as platform; |
| 31 | +#[cfg(all(not(rustdoc), target_os = "hermit"))] pub use os::hermit as platform; |
32 | 32 |
|
33 | 33 | pub use self::rand::hashmap_random_keys;
|
34 | 34 | pub use libc::strlen;
|
|
0 commit comments