We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db6300 commit 5d7d0aeCopy full SHA for 5d7d0ae
2 files changed
src/fuchsia/riscv64.rs
@@ -9,6 +9,7 @@ pub type nlink_t = c_ulong;
9
pub type blksize_t = c_long;
10
11
pub type stat64 = stat;
12
+
13
s! {
14
pub struct stat {
15
pub st_dev: crate::dev_t,
src/fuchsia/x86_64.rs
@@ -6,6 +6,8 @@ pub type nlink_t = u64;
6
7
pub type __u64 = c_ulonglong;
8
+pub type stat64 = stat;
@@ -28,27 +30,6 @@ s! {
28
30
__unused: Padding<[c_long; 3]>,
29
31
}
32
- pub struct stat64 {
- 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
-
52
pub struct mcontext_t {
53
__private: [u64; 32],
54
0 commit comments