diff options
Diffstat (limited to 'libc-test/build.rs')
-rw-r--r-- | libc-test/build.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 7c2834a807..ac0f996fc4 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -3394,7 +3394,7 @@ fn test_linux(target: &str) { } // FIXME(https://github.com/rust-lang/libc/issues/1558): passing by // value corrupts the value for reasons not understood. - if (gnu && sparc64) && ty == "ip_mreqn" { + if (gnu && sparc64) && (ty == "ip_mreqn" || ty == "hwtstamp_config") { return true; } match ty { @@ -3724,6 +3724,9 @@ fn test_linux(target: &str) { => true, "SCTP_FUTURE_ASSOC" | "SCTP_CURRENT_ASSOC" | "SCTP_ALL_ASSOC" | "SCTP_PEER_ADDR_THLDS_V2" => true, // linux 5.5+ + // FIXME: Requires more recent kernel headers + "HWTSTAMP_TX_ONESTEP_P2P" if sparc64 || musl => true, // linux v5.6+ + _ => false, } }); |