Skip to content

Commit 63ba3a0

Browse files
committed
ignore RTEXT_FILTER_* constants for non-GNU Linux libc checks
1 parent 1881328 commit 63ba3a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc-test/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3460,6 +3460,7 @@ fn test_linux(target: &str) {
34603460
|| name.starts_with("P_")
34613461
|| name.starts_with("PF_")
34623462
|| name.starts_with("RLIMIT_")
3463+
|| name.starts_with("RTEXT_FILTER_")
34633464
|| name.starts_with("SOL_")
34643465
|| name.starts_with("STATX_")
34653466
|| name.starts_with("SW_")
@@ -3474,6 +3475,7 @@ fn test_linux(target: &str) {
34743475
if musl || sparc64 {
34753476
// FIXME: Requires >= 5.4.1 kernel headers
34763477
if name.starts_with("J1939")
3478+
|| name.starts_with("RTEXT_FILTER_")
34773479
|| name.starts_with("SO_J1939")
34783480
|| name.starts_with("SCM_J1939")
34793481
{

0 commit comments

Comments
 (0)