@@ -572,7 +572,12 @@ fn test_getgrgid() {
572
572
#[ cfg( not( any( target_os = "android" ,
573
573
target_os = "ios" ,
574
574
target_os = "macos" ,
575
- target_env = "musl" ) ) ) ]
575
+ target_env = "musl" ,
576
+ target_arch = "mips" ,
577
+ target_arch = "mips64" ,
578
+ target_arch = "mips64el" ,
579
+ target_arch = "mipsel" ,
580
+ target_arch = "s390x" ) ) ) ]
576
581
fn test_users_iterator ( ) {
577
582
#[ allow( unused_variables) ]
578
583
let m = :: USER_GRP_ITER_MTX . lock ( ) . expect ( "Mutex got poisoned by another test" ) ;
@@ -588,7 +593,12 @@ fn test_users_iterator() {
588
593
#[ cfg( not( any( target_os = "android" ,
589
594
target_os = "ios" ,
590
595
target_os = "macos" ,
591
- target_env = "musl" ) ) ) ]
596
+ target_env = "musl" ,
597
+ target_arch = "mips" ,
598
+ target_arch = "mips64" ,
599
+ target_arch = "mips64el" ,
600
+ target_arch = "mipsel" ,
601
+ target_arch = "s390x" ) ) ) ]
592
602
fn test_groups_iterator ( ) {
593
603
#[ allow( unused_variables) ]
594
604
let m = :: USER_GRP_ITER_MTX . lock ( ) . expect ( "Mutex got poisoned by another test" ) ;
@@ -604,7 +614,12 @@ fn test_groups_iterator() {
604
614
#[ cfg( not( any( target_os = "android" ,
605
615
target_os = "ios" ,
606
616
target_os = "macos" ,
607
- target_env = "musl" ) ) ) ]
617
+ target_env = "musl" ,
618
+ target_arch = "mips" ,
619
+ target_arch = "mips64" ,
620
+ target_arch = "mips64el" ,
621
+ target_arch = "mipsel" ,
622
+ target_arch = "s390x" ) ) ) ]
608
623
/// This test sees what happens when we use a ridiculously small buffer.
609
624
fn test_users_iterator_smallbuf ( ) {
610
625
#[ allow( unused_variables) ]
0 commit comments