diff options
author | Janosch Reppnow <janoschre@gmail.com> | 2023-01-22 16:01:53 +0100 |
---|---|---|
committer | Janosch Reppnow <janoschre@gmail.com> | 2023-02-26 12:24:07 +0100 |
commit | 63ba3a046bac119995e2b5a21b6782398b92665a (patch) | |
tree | fade3eab2fb922b3cea7e9b0bcadb3d8c912709c | |
parent | 1881328a3979c5f967db59c14c17097dd3c6883b (diff) | |
download | rust-libc-63ba3a046bac119995e2b5a21b6782398b92665a.tar.gz |
ignore RTEXT_FILTER_* constants for non-GNU Linux libc checks
-rw-r--r-- | libc-test/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 98c802e338..581b5ab15e 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -3460,6 +3460,7 @@ fn test_linux(target: &str) { || name.starts_with("P_") || name.starts_with("PF_") || name.starts_with("RLIMIT_") + || name.starts_with("RTEXT_FILTER_") || name.starts_with("SOL_") || name.starts_with("STATX_") || name.starts_with("SW_") @@ -3474,6 +3475,7 @@ fn test_linux(target: &str) { if musl || sparc64 { // FIXME: Requires >= 5.4.1 kernel headers if name.starts_with("J1939") + || name.starts_with("RTEXT_FILTER_") || name.starts_with("SO_J1939") || name.starts_with("SCM_J1939") { |