diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-12-21 17:52:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 17:52:21 +0000 |
commit | 1dcc582f8eba50f6233bc0bf398ada4032469c1f (patch) | |
tree | bbaea69b57959959e1bfae5792778cede6e3177f /src/sys/epoll.rs | |
parent | d1c6fed481638405b0a87e5b7eecf82ce89b2268 (diff) | |
parent | 771c710e903c7176eb362fe632fb9fbf0e6f6910 (diff) | |
download | nix-1dcc582f8eba50f6233bc0bf398ada4032469c1f.zip |
Merge #1611
1611: feature-gate most Nix functions r=rtzoeller a=asomers
Using features reduces build time and size for consumer crates. By
default all features are enabled.
Co-authored-by: Vincent Dagonneau <vincentdagonneau@gmail.com>
Co-authored-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to 'src/sys/epoll.rs')
-rw-r--r-- | src/sys/epoll.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/epoll.rs b/src/sys/epoll.rs index 6bc2a253..678c27f9 100644 --- a/src/sys/epoll.rs +++ b/src/sys/epoll.rs @@ -19,6 +19,7 @@ libc_bitflags!( EPOLLHUP; EPOLLRDHUP; #[cfg(target_os = "linux")] // Added in 4.5; not in Android. + #[cfg_attr(docsrs, doc(cfg(all())))] EPOLLEXCLUSIVE; #[cfg(not(target_arch = "mips"))] EPOLLWAKEUP; |