@@ -43,50 +43,50 @@ cfg_if! {
4343
4444s ! {
4545 pub struct stat {
46- #[ cfg( not( target_arch = "mips" ) ) ]
46+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
4747 pub st_dev: :: dev_t,
48- #[ cfg( target_arch = "mips" ) ]
48+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
4949 pub st_dev: :: c_ulong,
5050
51- #[ cfg( not( target_arch = "mips" ) ) ]
51+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
5252 __pad1: :: c_short,
53- #[ cfg( target_arch = "mips" ) ]
53+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
5454 st_pad1: [ :: c_long; 3 ] ,
5555 pub st_ino: :: ino_t,
5656 pub st_mode: :: mode_t,
5757 pub st_nlink: :: nlink_t,
5858 pub st_uid: :: uid_t,
5959 pub st_gid: :: gid_t,
60- #[ cfg( not( target_arch = "mips" ) ) ]
60+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
6161 pub st_rdev: :: dev_t,
62- #[ cfg( target_arch = "mips" ) ]
62+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
6363 pub st_rdev: :: c_ulong,
64- #[ cfg( not( target_arch = "mips" ) ) ]
64+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
6565 __pad2: :: c_short,
66- #[ cfg( target_arch = "mips" ) ]
66+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
6767 st_pad2: [ :: c_long; 2 ] ,
6868 pub st_size: :: off_t,
69- #[ cfg( target_arch = "mips" ) ]
69+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
7070 st_pad3: :: c_long,
71- #[ cfg( not( target_arch = "mips" ) ) ]
71+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
7272 pub st_blksize: :: blksize_t,
73- #[ cfg( not( target_arch = "mips" ) ) ]
73+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
7474 pub st_blocks: :: blkcnt_t,
7575 pub st_atime: :: time_t,
7676 pub st_atime_nsec: :: c_long,
7777 pub st_mtime: :: time_t,
7878 pub st_mtime_nsec: :: c_long,
7979 pub st_ctime: :: time_t,
8080 pub st_ctime_nsec: :: c_long,
81- #[ cfg( not( target_arch = "mips" ) ) ]
81+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
8282 __unused4: :: c_long,
83- #[ cfg( not( target_arch = "mips" ) ) ]
83+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ]
8484 __unused5: :: c_long,
85- #[ cfg( target_arch = "mips" ) ]
85+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
8686 pub st_blksize: :: blksize_t,
87- #[ cfg( target_arch = "mips" ) ]
87+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
8888 pub st_blocks: :: blkcnt_t,
89- #[ cfg( target_arch = "mips" ) ]
89+ #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ]
9090 st_pad5: [ :: c_long; 14 ] ,
9191 }
9292
@@ -140,12 +140,12 @@ s! {
140140 #[ cfg( target_arch = "powerpc" ) ]
141141 __reserved: :: __syscall_ulong_t,
142142 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") ) ) ]
144144 __reserved: :: __syscall_ulong_t,
145145 #[ cfg( target_arch = "powerpc" ) ]
146146 __reserved2: :: __syscall_ulong_t,
147147 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") ) ) ]
149149 __reserved2: :: __syscall_ulong_t,
150150 pub sem_nsems: :: __syscall_ulong_t,
151151 __glibc_reserved3: :: __syscall_ulong_t,
@@ -337,7 +337,7 @@ cfg_if! {
337337 } else if #[ cfg( target_arch = "arm" ) ] {
338338 mod arm;
339339 pub use self :: arm:: * ;
340- } else if #[ cfg( target_arch = "mips" ) ] {
340+ } else if #[ cfg( any ( target_arch = "mips" , target_arch = "mips32r6" ) ) ] {
341341 mod mips;
342342 pub use self :: mips:: * ;
343343 } else if #[ cfg( target_arch = "m68k" ) ] {
0 commit comments