@@ -441,12 +441,12 @@ pub mod types {
441
441
pub type intmax_t = i64 ;
442
442
pub type uintmax_t = u64 ;
443
443
}
444
- #[ cfg( any( target_arch = "x86" ,
445
- target_arch = "mips" ,
444
+ #[ cfg( any( target_arch = "mips" ,
446
445
target_arch = "mipsel" ,
447
446
target_arch = "powerpc" ,
448
447
target_arch = "le32" ,
449
- all( target_arch = "arm" , not( target_os = "android" ) ) ) ) ]
448
+ all( any( target_arch = "arm" , target_arch = "x86" ) ,
449
+ not( target_os = "android" ) ) ) ) ]
450
450
pub mod posix88 {
451
451
pub type off_t = i32 ;
452
452
pub type dev_t = u64 ;
@@ -458,7 +458,8 @@ pub mod types {
458
458
pub type mode_t = u32 ;
459
459
pub type ssize_t = i32 ;
460
460
}
461
- #[ cfg( all( target_arch = "arm" , target_os = "android" ) ) ]
461
+ #[ cfg( all( any( target_arch = "arm" , target_arch = "x86" ) ,
462
+ target_os = "android" ) ) ]
462
463
pub mod posix88 {
463
464
pub type off_t = i32 ;
464
465
pub type dev_t = u32 ;
@@ -473,7 +474,8 @@ pub mod types {
473
474
#[ cfg( any( target_arch = "x86" ,
474
475
target_arch = "le32" ,
475
476
target_arch = "powerpc" ,
476
- all( target_arch = "arm" , not( target_os = "android" ) ) ) ) ]
477
+ all( any( target_arch = "arm" , target_arch = "x86" ) ,
478
+ not( target_os = "android" ) ) ) ) ]
477
479
pub mod posix01 {
478
480
use types:: os:: arch:: c95:: { c_short, c_long, time_t} ;
479
481
use types:: os:: arch:: posix88:: { dev_t, gid_t, ino_t} ;
@@ -519,7 +521,8 @@ pub mod types {
519
521
pub __size : [ u32 ; 9 ]
520
522
}
521
523
}
522
- #[ cfg( all( target_arch = "arm" , target_os = "android" ) ) ]
524
+ #[ cfg( all( any( target_arch = "arm" , target_arch = "x86" ) ,
525
+ target_os = "android" ) ) ]
523
526
pub mod posix01 {
524
527
use types:: os:: arch:: c95:: { c_uchar, c_uint, c_ulong, time_t} ;
525
528
use types:: os:: arch:: c99:: { c_longlong, c_ulonglong} ;
@@ -5916,13 +5919,15 @@ pub mod funcs {
5916
5919
use types:: os:: arch:: c95:: c_int;
5917
5920
use types:: os:: common:: posix01:: sighandler_t;
5918
5921
5919
- #[ cfg( not( all( target_os = "android" , target_arch = "arm" ) ) ) ]
5922
+ #[ cfg( not( all( target_os = "android" , any( target_arch = "arm" ,
5923
+ target_arch = "x86" ) ) ) ) ]
5920
5924
extern {
5921
5925
pub fn signal ( signum : c_int ,
5922
5926
handler : sighandler_t ) -> sighandler_t ;
5923
5927
}
5924
5928
5925
- #[ cfg( all( target_os = "android" , target_arch = "arm" ) ) ]
5929
+ #[ cfg( all( target_os = "android" , any( target_arch = "arm" ,
5930
+ target_arch = "x86" ) ) ) ]
5926
5931
extern {
5927
5932
#[ link_name = "bsd_signal" ]
5928
5933
pub fn signal ( signum : c_int ,
0 commit comments