nix/mount/mod.rs
1//! Mount file systems
2#[cfg(any(target_os = "android", target_os = "linux"))]
3mod linux;
4
5#[cfg(any(target_os = "android", target_os = "linux"))]
6pub use self::linux::*;
7
8#[cfg(any(target_os = "dragonfly",
9 target_os = "freebsd",
10 target_os = "macos",
11 target_os = "netbsd",
12 target_os = "openbsd"))]
13mod bsd;
14
15#[cfg(any(target_os = "dragonfly",
16 target_os = "freebsd",
17 target_os = "macos",
18 target_os = "netbsd",
19 target_os = "openbsd"
20 ))]
21pub use self::bsd::*;