diff options
| author | LinkTed <LinkTed@users.noreply.github.com> | 2020-08-29 19:22:03 +0200 |
|---|---|---|
| committer | LinkTed <LinkTed@users.noreply.github.com> | 2020-10-10 15:19:12 +0200 |
| commit | 46764d48bb556c0e3c66fe99cf63d536e22c9a0d (patch) | |
| tree | 2ecefa803c761a976e967182b2f820b9cc401f60 /library/std/src/sys/unix/ext/net/mod.rs | |
| parent | 1869141e5444c8f53e7ef625e1b3f26002fff43c (diff) | |
| download | rust-46764d48bb556c0e3c66fe99cf63d536e22c9a0d.tar.gz rust-46764d48bb556c0e3c66fe99cf63d536e22c9a0d.zip | |
Add doc(cfg(...))
Diffstat (limited to 'library/std/src/sys/unix/ext/net/mod.rs')
| -rw-r--r-- | library/std/src/sys/unix/ext/net/mod.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/ext/net/mod.rs b/library/std/src/sys/unix/ext/net/mod.rs index 125432b2b71..d1c943b4f2f 100644 --- a/library/std/src/sys/unix/ext/net/mod.rs +++ b/library/std/src/sys/unix/ext/net/mod.rs @@ -3,7 +3,24 @@ #![stable(feature = "unix_socket", since = "1.10.0")] mod addr; +#[doc(cfg(any( + target_os = "android", + target_os = "dragonfly", + target_os = "emscripten", + target_os = "freebsd", + target_os = "fuchsia", + target_os = "haiku", + target_os = "illumos", + target_os = "ios", + target_os = "linux", + target_os = "macos", + target_os = "netbsd", + target_os = "openbsd", + target_os = "solaris", + target_env = "uclibc", +)))] #[cfg(any( + doc, target_os = "android", target_os = "dragonfly", target_os = "emscripten", |
