File tree Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
11
11
- Added ` alarm ` . ([ #830 ] ( https://github.com/nix-rust/nix/pull/830 ) )
12
12
- Added interface flags ` IFF_NO_PI, IFF_TUN, IFF_TAP ` on linux-like systems.
13
13
([ #853 ] ( https://github.com/nix-rust/nix/pull/853 ) )
14
+ - Added ` statvfs ` module to all MacOS and Linux architectures.
15
+ ([ #832 ] ( https://github.com/nix-rust/nix/pull/832 ) )
14
16
15
17
### Changed
16
18
- Display and Debug for SysControlAddr now includes all fields.
Original file line number Diff line number Diff line change @@ -54,19 +54,9 @@ pub mod socket;
54
54
55
55
pub mod stat;
56
56
57
- #[ cfg( all( target_os = "linux" ,
58
- any( target_arch = "x86" ,
59
- target_arch = "x86_64" ,
60
- target_arch = "arm" ) ) ,
61
- ) ]
57
+ #[ cfg( any( target_os = "android" , target_os = "linux" , target_os = "macos" ) ) ]
62
58
pub mod statfs;
63
59
64
- #[ cfg( all( any( target_os = "linux" ,
65
- target_os = "macos" ) ,
66
- any( target_arch = "x86" ,
67
- target_arch = "x86_64" ,
68
- target_arch = "arm" ) ) ,
69
- ) ]
70
60
pub mod statvfs;
71
61
72
62
pub mod termios;
Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ libc_bitflags!(
32
32
#[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
33
33
ST_MANDLOCK ;
34
34
/// Write on file/directory/symlink
35
- #[ cfg( any ( target_os = "android" , target_os = " linux") ) ]
35
+ #[ cfg( target_os = "linux" ) ]
36
36
ST_WRITE ;
37
37
/// Append-only file
38
- #[ cfg( any ( target_os = "android" , target_os = " linux") ) ]
38
+ #[ cfg( target_os = "linux" ) ]
39
39
ST_APPEND ;
40
40
/// Immutable file
41
- #[ cfg( any ( target_os = "android" , target_os = " linux") ) ]
41
+ #[ cfg( target_os = "linux" ) ]
42
42
ST_IMMUTABLE ;
43
43
/// Do not update access times on files
44
44
#[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
You can’t perform that action at this time.
0 commit comments