xref: /third_party/rust/crates/nix/src/mount/mod.rs (revision 3da5c369)
1//! Mount file systems
2#[cfg(any(target_os = "android", target_os = "linux"))]
3#[cfg_attr(docsrs, doc(cfg(all())))]
4mod linux;
5
6#[cfg(any(target_os = "android", target_os = "linux"))]
7pub use self::linux::*;
8
9#[cfg(any(
10    target_os = "dragonfly",
11    target_os = "freebsd",
12    target_os = "macos",
13    target_os = "netbsd",
14    target_os = "openbsd"
15))]
16#[cfg_attr(docsrs, doc(cfg(all())))]
17mod bsd;
18
19#[cfg(any(
20    target_os = "dragonfly",
21    target_os = "freebsd",
22    target_os = "macos",
23    target_os = "netbsd",
24    target_os = "openbsd"
25))]
26pub use self::bsd::*;
27