diff options
author | Alan Somers <asomers@gmail.com> | 2021-06-13 19:42:13 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2021-06-13 20:13:32 -0600 |
commit | 48c7a07c428ccd680c23a18f269f3b887439d6d6 (patch) | |
tree | b0e3dda01805352b450399b25cdc4903a70bbb53 /src/mount/mod.rs | |
parent | cf57ae5b1273fe6796515351ff31e434a05e0e21 (diff) | |
download | nix-48c7a07c428ccd680c23a18f269f3b887439d6d6.zip |
Add nmount for FreeBSD.
Diffstat (limited to 'src/mount/mod.rs')
-rw-r--r-- | src/mount/mod.rs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mount/mod.rs b/src/mount/mod.rs new file mode 100644 index 00000000..8538bf3d --- /dev/null +++ b/src/mount/mod.rs @@ -0,0 +1,20 @@ +#[cfg(any(target_os = "android", target_os = "linux"))] +mod linux; + +#[cfg(any(target_os = "android", target_os = "linux"))] +pub use self::linux::*; + +#[cfg(any(target_os = "dragonfly", + target_os = "freebsd", + target_os = "macos", + target_os = "netbsd", + target_os = "openbsd"))] +mod bsd; + +#[cfg(any(target_os = "dragonfly", + target_os = "freebsd", + target_os = "macos", + target_os = "netbsd", + target_os = "openbsd" + ))] +pub use self::bsd::*; |