Skip to content

Commit

Permalink
Update statfs
Browse files Browse the repository at this point in the history
  • Loading branch information
alesharik committed Jun 12, 2019
1 parent 50f55e7 commit e6d810d
Show file tree
Hide file tree
Showing 3 changed files with 548 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
([#1077](https://github.com/nix-rust/nix/pull/1077))
- Minimum supported Rust version is now 1.25.0
([#1035](https://github.com/nix-rust/nix/pull/1035))
- Now functions `statfs()` and `fstatfs()` return result with `Statfs` wrapper
([#928](https://github.com/nix-rust/nix/pull/928))

### Fixed
### Removed
Expand Down
9 changes: 8 additions & 1 deletion src/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ pub mod socket;

pub mod stat;

#[cfg(any(target_os = "android", target_os = "linux", target_os = "macos"))]
#[cfg(any(target_os = "android",
target_os = "dragonfly",
target_os = "freebsd",
target_os = "ios",
target_os = "linux",
target_os = "macos",
target_os = "openbsd"
))]
pub mod statfs;

pub mod statvfs;
Expand Down
Loading

0 comments on commit e6d810d

Please sign in to comment.