summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-14 22:50:42 +0000
committerbors <bors@rust-lang.org>2021-10-14 22:50:42 +0000
commit86689c5dacec7558f14c565944951853eb04da84 (patch)
tree903f3c9ef502b5a06893996f934b58d6f7c95f11
parente4da444c3f3d2d14609de28d69b55e5d1cc21a21 (diff)
parentd63e6be74a5e81d3f6bdbc5a84b8930b69ed53c8 (diff)
downloadrust-libc-86689c5dacec7558f14c565944951853eb04da84.tar.gz
Auto merge of #2447 - devnexen:obsd_skip_few_consts, r=Amanieu
openbsd omit few consts check as openbsd supports release N and N-1 f… …or a while
-rw-r--r--libc-test/build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 9377439e0f..d97285ca45 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -481,6 +481,8 @@ fn test_openbsd(target: &str) {
match name {
// Removed in OpenBSD 6.0
"KERN_USERMOUNT" | "KERN_ARND" => true,
+ // Good chance it's going to be wrong depending on the host release
+ "KERN_MAXID" | "NET_RT_MAXID" => true,
_ => false,
}
});