File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
src/unix/linux_like/linux/gnu/b64/x86_64 Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -3382,7 +3382,7 @@ fn test_linux(target: &str) {
3382
3382
// LFS64 types have been removed in musl 1.2.4+
3383
3383
"off64_t" if musl => "off_t" . to_string ( ) ,
3384
3384
// In some gnu targets `stat64` is a typedef to `stat`
3385
- "stat64" | "statfs64" if gnu => format ! ( "struct {}" , ty) ,
3385
+ "stat64" | "statfs64" | "statvfs64" if gnu => format ! ( "struct {}" , ty) ,
3386
3386
3387
3387
// typedefs don't need any keywords
3388
3388
t if t. ends_with ( "_t" ) => t. to_string ( ) ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub type __u64 = ::c_ulonglong;
10
10
pub type __s64 = :: c_longlong ;
11
11
12
12
pub type statfs64 = statfs ;
13
+ pub type statvfs64 = statvfs ;
13
14
14
15
s ! {
15
16
pub struct sigaction {
@@ -116,21 +117,6 @@ s! {
116
117
__reserved: [ i64 ; 3 ] ,
117
118
}
118
119
119
- pub struct statvfs64 {
120
- pub f_bsize: :: c_ulong,
121
- pub f_frsize: :: c_ulong,
122
- pub f_blocks: u64 ,
123
- pub f_bfree: u64 ,
124
- pub f_bavail: u64 ,
125
- pub f_files: u64 ,
126
- pub f_ffree: u64 ,
127
- pub f_favail: u64 ,
128
- pub f_fsid: :: c_ulong,
129
- pub f_flag: :: c_ulong,
130
- pub f_namemax: :: c_ulong,
131
- __f_spare: [ :: c_int; 6 ] ,
132
- }
133
-
134
120
pub struct pthread_attr_t {
135
121
#[ cfg( target_pointer_width = "32" ) ]
136
122
__size: [ u32 ; 8 ] ,
You can’t perform that action at this time.
0 commit comments