@@ -432,12 +432,12 @@ pub mod types {
432
432
pub type intmax_t = i64 ;
433
433
pub type uintmax_t = u64 ;
434
434
}
435
- #[ cfg( any( target_arch = "x86" ,
436
- target_arch = "mips" ,
435
+ #[ cfg( any( target_arch = "mips" ,
437
436
target_arch = "mipsel" ,
438
437
target_arch = "powerpc" ,
439
438
target_arch = "le32" ,
440
- all( target_arch = "arm" , not( target_os = "android" ) ) ) ) ]
439
+ all( any( target_arch = "arm" , target_arch = "x86" ) ,
440
+ not( target_os = "android" ) ) ) ) ]
441
441
pub mod posix88 {
442
442
pub type off_t = i32 ;
443
443
pub type dev_t = u64 ;
@@ -449,7 +449,8 @@ pub mod types {
449
449
pub type mode_t = u32 ;
450
450
pub type ssize_t = i32 ;
451
451
}
452
- #[ cfg( all( target_arch = "arm" , target_os = "android" ) ) ]
452
+ #[ cfg( all( any( target_arch = "arm" , target_arch = "x86" ) ,
453
+ target_os = "android" ) ) ]
453
454
pub mod posix88 {
454
455
pub type off_t = i32 ;
455
456
pub type dev_t = u32 ;
@@ -464,7 +465,8 @@ pub mod types {
464
465
#[ cfg( any( target_arch = "x86" ,
465
466
target_arch = "le32" ,
466
467
target_arch = "powerpc" ,
467
- all( target_arch = "arm" , not( target_os = "android" ) ) ) ) ]
468
+ all( any( target_arch = "arm" , target_arch = "x86" ) ,
469
+ not( target_os = "android" ) ) ) ) ]
468
470
pub mod posix01 {
469
471
use types:: os:: arch:: c95:: { c_short, c_long, time_t} ;
470
472
use types:: os:: arch:: posix88:: { dev_t, gid_t, ino_t} ;
@@ -510,7 +512,8 @@ pub mod types {
510
512
pub __size : [ u32 ; 9 ]
511
513
}
512
514
}
513
- #[ cfg( all( target_arch = "arm" , target_os = "android" ) ) ]
515
+ #[ cfg( all( any( target_arch = "arm" , target_arch = "x86" ) ,
516
+ target_os = "android" ) ) ]
514
517
pub mod posix01 {
515
518
use types:: os:: arch:: c95:: { c_uchar, c_uint, c_ulong, time_t} ;
516
519
use types:: os:: arch:: c99:: { c_longlong, c_ulonglong} ;
@@ -5905,13 +5908,15 @@ pub mod funcs {
5905
5908
use types:: os:: arch:: c95:: c_int;
5906
5909
use types:: os:: common:: posix01:: sighandler_t;
5907
5910
5908
- #[ cfg( not( all( target_os = "android" , target_arch = "arm" ) ) ) ]
5911
+ #[ cfg( not( all( target_os = "android" , any( target_arch = "arm" ,
5912
+ target_arch = "x86" ) ) ) ) ]
5909
5913
extern {
5910
5914
pub fn signal ( signum : c_int ,
5911
5915
handler : sighandler_t ) -> sighandler_t ;
5912
5916
}
5913
5917
5914
- #[ cfg( all( target_os = "android" , target_arch = "arm" ) ) ]
5918
+ #[ cfg( all( target_os = "android" , any( target_arch = "arm" ,
5919
+ target_arch = "x86" ) ) ) ]
5915
5920
extern {
5916
5921
#[ link_name = "bsd_signal" ]
5917
5922
pub fn signal ( signum : c_int ,
0 commit comments