File tree Expand file tree Collapse file tree 3 files changed +6
-20
lines changed
src/unix/linux_like/linux/gnu/b32 Expand file tree Collapse file tree 3 files changed +6
-20
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
- "statfs64" if gnu => format ! ( "struct {}" , ty) ,
3385
+ "stat64" | " statfs64" 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 57
57
__unused2: :: c_ulong
58
58
}
59
59
60
- pub struct stat64 {
61
- pub st_dev: :: dev_t,
62
- pub st_ino: :: ino_t,
63
- pub st_mode: :: mode_t,
64
- pub st_nlink: :: nlink_t,
65
- pub st_uid: :: uid_t,
66
- pub st_gid: :: gid_t,
67
- pub st_rdev: :: dev_t,
68
- pub st_size: :: off64_t,
69
- pub st_blksize: :: blksize_t,
70
- pub st_blocks: :: blkcnt64_t,
71
- pub st_atime: :: time_t,
72
- pub st_atime_nsec: :: c_long,
73
- pub st_mtime: :: time_t,
74
- pub st_mtime_nsec: :: c_long,
75
- pub st_ctime: :: time_t,
76
- pub st_ctime_nsec: :: c_long,
77
- }
78
-
79
60
pub struct statvfs64 {
80
61
pub f_bsize: :: c_ulong,
81
62
pub f_frsize: :: c_ulong,
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ cfg_if! {
40
40
pub type blksize_t = i32 ;
41
41
}
42
42
}
43
+ cfg_if ! {
44
+ if #[ cfg( target_arch = "arm" ) ] {
45
+ pub type stat64 = stat;
46
+ }
47
+ }
43
48
44
49
s ! {
45
50
pub struct stat {
You can’t perform that action at this time.
0 commit comments