Skip to content

Commit

Permalink
Add nmount for FreeBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Jun 14, 2021
1 parent cf57ae5 commit 71fa7cd
Show file tree
Hide file tree
Showing 10 changed files with 568 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## [Unreleased] - ReleaseDate
### Added
- Added `if_nameindex` (#[1445](https://github.com/nix-rust/nix/pull/1445))
- Added `nmount` for FreeBSD.
(#[1447](https://github.com/nix-rust/nix/pull/1447))

### Changed
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ targets = [
]

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

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ pub mod ifaddrs;
target_os = "linux"))]
pub mod kmod;
#[cfg(any(target_os = "android",
target_os = "freebsd",
target_os = "linux"))]
pub mod mount;
#[cfg(any(target_os = "dragonfly",
Expand Down
Loading

0 comments on commit 71fa7cd

Please sign in to comment.