Skip to content

Commit 5d7d0ae

Browse files
committed
chore: wip
1 parent 8db6300 commit 5d7d0ae

2 files changed

Lines changed: 3 additions & 21 deletions

File tree

src/fuchsia/riscv64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pub type nlink_t = c_ulong;
99
pub type blksize_t = c_long;
1010

1111
pub type stat64 = stat;
12+
1213
s! {
1314
pub struct stat {
1415
pub st_dev: crate::dev_t,

src/fuchsia/x86_64.rs

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ pub type nlink_t = u64;
66
pub type blksize_t = c_long;
77
pub type __u64 = c_ulonglong;
88

9+
pub type stat64 = stat;
10+
911
s! {
1012
pub struct stat {
1113
pub st_dev: crate::dev_t,
@@ -28,27 +30,6 @@ s! {
2830
__unused: Padding<[c_long; 3]>,
2931
}
3032

31-
pub struct stat64 {
32-
pub st_dev: crate::dev_t,
33-
pub st_ino: crate::ino64_t,
34-
pub st_nlink: crate::nlink_t,
35-
pub st_mode: crate::mode_t,
36-
pub st_uid: crate::uid_t,
37-
pub st_gid: crate::gid_t,
38-
__pad0: Padding<c_int>,
39-
pub st_rdev: crate::dev_t,
40-
pub st_size: off_t,
41-
pub st_blksize: crate::blksize_t,
42-
pub st_blocks: crate::blkcnt64_t,
43-
pub st_atime: crate::time_t,
44-
pub st_atime_nsec: c_long,
45-
pub st_mtime: crate::time_t,
46-
pub st_mtime_nsec: c_long,
47-
pub st_ctime: crate::time_t,
48-
pub st_ctime_nsec: c_long,
49-
__reserved: Padding<[c_long; 3]>,
50-
}
51-
5233
pub struct mcontext_t {
5334
__private: [u64; 32],
5435
}

0 commit comments

Comments
 (0)