@@ -43,50 +43,50 @@ cfg_if! {
43
43
44
44
s ! {
45
45
pub struct stat {
46
- #[ cfg( not( target_arch = "mips" ) ) ]
46
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
47
47
pub st_dev: :: dev_t,
48
- #[ cfg( target_arch = "mips" ) ]
48
+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
49
49
pub st_dev: :: c_ulong,
50
50
51
- #[ cfg( not( target_arch = "mips" ) ) ]
51
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
52
52
__pad1: :: c_short,
53
- #[ cfg( target_arch = "mips" ) ]
53
+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
54
54
st_pad1: [ :: c_long; 3 ] ,
55
55
pub st_ino: :: ino_t,
56
56
pub st_mode: :: mode_t,
57
57
pub st_nlink: :: nlink_t,
58
58
pub st_uid: :: uid_t,
59
59
pub st_gid: :: gid_t,
60
- #[ cfg( not( target_arch = "mips" ) ) ]
60
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
61
61
pub st_rdev: :: dev_t,
62
- #[ cfg( target_arch = "mips" ) ]
62
+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
63
63
pub st_rdev: :: c_ulong,
64
- #[ cfg( not( target_arch = "mips" ) ) ]
64
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
65
65
__pad2: :: c_short,
66
- #[ cfg( target_arch = "mips" ) ]
66
+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
67
67
st_pad2: [ :: c_long; 2 ] ,
68
68
pub st_size: :: off_t,
69
- #[ cfg( target_arch = "mips" ) ]
69
+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
70
70
st_pad3: :: c_long,
71
- #[ cfg( not( target_arch = "mips" ) ) ]
71
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
72
72
pub st_blksize: :: blksize_t,
73
- #[ cfg( not( target_arch = "mips" ) ) ]
73
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
74
74
pub st_blocks: :: blkcnt_t,
75
75
pub st_atime: :: time_t,
76
76
pub st_atime_nsec: :: c_long,
77
77
pub st_mtime: :: time_t,
78
78
pub st_mtime_nsec: :: c_long,
79
79
pub st_ctime: :: time_t,
80
80
pub st_ctime_nsec: :: c_long,
81
- #[ cfg( not( target_arch = "mips" ) ) ]
81
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
82
82
__unused4: :: c_long,
83
- #[ cfg( not( target_arch = "mips" ) ) ]
83
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
84
84
__unused5: :: c_long,
85
- #[ cfg( target_arch = "mips" ) ]
85
+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
86
86
pub st_blksize: :: blksize_t,
87
- #[ cfg( target_arch = "mips" ) ]
87
+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
88
88
pub st_blocks: :: blkcnt_t,
89
- #[ cfg( target_arch = "mips" ) ]
89
+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
90
90
st_pad5: [ :: c_long; 14 ] ,
91
91
}
92
92
@@ -140,12 +140,12 @@ s! {
140
140
#[ cfg( target_arch = "powerpc" ) ]
141
141
__reserved: :: __syscall_ulong_t,
142
142
pub sem_otime: :: time_t,
143
- #[ cfg( not( any( target_arch = "mips" , target_arch = "powerpc" ) ) ) ]
143
+ #[ cfg( not( any( target_arch = "mips" , target_arch = "mips32r6" , target_arch = " powerpc") ) ) ]
144
144
__reserved: :: __syscall_ulong_t,
145
145
#[ cfg( target_arch = "powerpc" ) ]
146
146
__reserved2: :: __syscall_ulong_t,
147
147
pub sem_ctime: :: time_t,
148
- #[ cfg( not( any( target_arch = "mips" , target_arch = "powerpc" ) ) ) ]
148
+ #[ cfg( not( any( target_arch = "mips" , target_arch = "mips32r6" , target_arch = " powerpc") ) ) ]
149
149
__reserved2: :: __syscall_ulong_t,
150
150
pub sem_nsems: :: __syscall_ulong_t,
151
151
__glibc_reserved3: :: __syscall_ulong_t,
@@ -337,7 +337,7 @@ cfg_if! {
337
337
} else if #[ cfg( target_arch = "arm" ) ] {
338
338
mod arm;
339
339
pub use self :: arm:: * ;
340
- } else if #[ cfg( target_arch = "mips" ) ] {
340
+ } else if #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ] {
341
341
mod mips;
342
342
pub use self :: mips:: * ;
343
343
} else if #[ cfg( target_arch = "m68k" ) ] {
0 commit comments