summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2023-03-03 18:57:26 +0900
committerYuki Okushi <jtitor@2k36.org>2023-03-03 19:07:38 +0900
commit0af51c6ed4f369b31693073d481a4c098b892805 (patch)
tree57ea6ec4c404e9dc86d26da0984d5b060eb8212b
parent2bafdcf631478f8ac4bbe7934852731685f52cc9 (diff)
downloadrust-libc-0af51c6ed4f369b31693073d481a4c098b892805.tar.gz
Ignore some removed `IP_*` consts on FreeBSD
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
-rw-r--r--libc-test/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 73c1c8fdb4..efa8f1304e 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -2271,6 +2271,10 @@ fn test_freebsd(target: &str) {
// Added in FreeBSD 14
"IFCAP_NV" if Some(14) > freebsd_ver => true,
+ // Removed in https://reviews.freebsd.org/D38574 and https://reviews.freebsd.org/D38822
+ // We maybe should deprecate them once a stable release ships them.
+ "IP_BINDMULTI" | "IP_RSS_LISTEN_BUCKET" => true,
+
_ => false,
}
});