File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed
src/unix/linux_like/linux/gnu/b32 Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ cfg_if! {
41
41
}
42
42
}
43
43
cfg_if ! {
44
- if #[ cfg( target_arch = "arm" ) ] {
44
+ if #[ cfg( any ( target_arch = "arm" , target_arch= "riscv32" ) ) ] {
45
45
pub type stat64 = stat;
46
46
}
47
47
}
Original file line number Diff line number Diff line change 44
44
__unused: [ :: c_int; 2usize ] ,
45
45
}
46
46
47
- pub struct stat64 {
48
- pub st_dev: :: dev_t,
49
- pub st_ino: :: ino64_t,
50
- pub st_mode: :: mode_t,
51
- pub st_nlink: :: nlink_t,
52
- pub st_uid: :: uid_t,
53
- pub st_gid: :: gid_t,
54
- pub st_rdev: :: dev_t,
55
- pub __pad1: :: dev_t,
56
- pub st_size: :: off64_t,
57
- pub st_blksize: :: blksize_t,
58
- pub __pad2: :: c_int,
59
- pub st_blocks: :: blkcnt64_t,
60
- pub st_atime: :: time_t,
61
- pub st_atime_nsec: :: c_long,
62
- pub st_mtime: :: time_t,
63
- pub st_mtime_nsec: :: c_long,
64
- pub st_ctime: :: time_t,
65
- pub st_ctime_nsec: :: c_long,
66
- __unused: [ :: c_int; 2 ] ,
67
- }
68
-
69
47
pub struct statfs {
70
48
pub f_type: :: c_long,
71
49
pub f_bsize: :: c_long,
You can’t perform that action at this time.
0 commit comments