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/mount/mod.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/mount/mod.rs')
-rw-r--r-- | src/mount/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mount/mod.rs b/src/mount/mod.rs index 14bf2a96..e89c1a07 100644 --- a/src/mount/mod.rs +++ b/src/mount/mod.rs @@ -1,5 +1,6 @@ //! Mount file systems #[cfg(any(target_os = "android", target_os = "linux"))] +#[cfg_attr(docsrs, doc(cfg(all())))] mod linux; #[cfg(any(target_os = "android", target_os = "linux"))] @@ -10,6 +11,7 @@ pub use self::linux::*; target_os = "macos", target_os = "netbsd", target_os = "openbsd"))] +#[cfg_attr(docsrs, doc(cfg(all())))] mod bsd; #[cfg(any(target_os = "dragonfly", |