Skip to content

Commit 48c7a07

Browse files
committed
Add nmount for FreeBSD.
1 parent cf57ae5 commit 48c7a07

File tree

10 files changed

+569
-2
lines changed

10 files changed

+569
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
66
## [Unreleased] - ReleaseDate
77
### Added
88
- Added `if_nameindex` (#[1445](https://github.com/nix-rust/nix/pull/1445))
9+
- Added `nmount` for FreeBSD.
10+
(#[1447](https://github.com/nix-rust/nix/pull/1447))
911

1012
### Changed
1113
### Fixed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ targets = [
3232
]
3333

3434
[dependencies]
35-
libc = { version = "0.2.95", features = [ "extra_traits" ] }
35+
libc = { git = "https://github.com/rust-lang/libc", rev = "72da7a6a464a5a2a17993b94d94d2ab99bb87db6", features = [ "extra_traits" ] }
3636
bitflags = "1.1"
3737
cfg-if = "1.0"
3838

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ pub mod ifaddrs;
4444
target_os = "linux"))]
4545
pub mod kmod;
4646
#[cfg(any(target_os = "android",
47+
target_os = "freebsd",
4748
target_os = "linux"))]
4849
pub mod mount;
4950
#[cfg(any(target_os = "dragonfly",

0 commit comments

Comments
 (0)