@@ -3567,8 +3567,7 @@ fn test_linux(target: &str) {
3567
3567
// Include linux headers at the end:
3568
3568
headers ! {
3569
3569
cfg:
3570
- [ loongarch64] : "asm/hwcap.h" ,
3571
- [ riscv64] : "asm/hwcap.h" ,
3570
+ [ loongarch64 || riscv64] : "asm/hwcap.h" ,
3572
3571
"asm/mman.h" ,
3573
3572
[ gnu] : "linux/aio_abi.h" ,
3574
3573
"linux/can.h" ,
@@ -3767,17 +3766,19 @@ fn test_linux(target: &str) {
3767
3766
if musl && ( ty. ends_with ( "64" ) || ty. ends_with ( "64_t" ) ) {
3768
3767
return true ;
3769
3768
}
3769
+
3770
3770
// FIXME: sparc64 CI has old headers
3771
3771
if sparc64 && ( ty == "uinput_ff_erase" || ty == "uinput_abs_setup" ) {
3772
3772
return true ;
3773
3773
}
3774
- // FIXME(https://github.com/rust-lang/libc/issues/1558): passing by
3775
- // value corrupts the value for reasons not understood.
3774
+
3775
+ // FIXME(#1558): passing by value corrupts the value for reasons not understood.
3776
3776
if ( gnu && sparc64) && ( ty == "ip_mreqn" || ty == "hwtstamp_config" ) {
3777
3777
return true ;
3778
3778
}
3779
- // FIXME(https://github.com/rust-lang/rust/issues/43894): pass by value for structs that are not an even 32/64 bits on
3780
- // big-endian systems corrupts the value for unknown reasons.
3779
+
3780
+ // FIXME(rust-lang/rust#43894): pass by value for structs that are not an even 32/64 bits
3781
+ // on big-endian systems corrupts the value for unknown reasons.
3781
3782
if ( sparc64 || ppc || ppc64 || s390x)
3782
3783
&& ( ty == "sockaddr_pkt"
3783
3784
|| ty == "tpacket_auxdata"
@@ -3788,6 +3789,7 @@ fn test_linux(target: &str) {
3788
3789
{
3789
3790
return true ;
3790
3791
}
3792
+
3791
3793
// FIXME: musl doesn't compile with `struct fanout_args` for unknown reasons.
3792
3794
if musl && ty == "fanout_args" {
3793
3795
return true ;
0 commit comments