summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Marie <semarie@online.fr>2022-08-17 06:37:58 +0000
committerSébastien Marie <semarie@online.fr>2022-08-17 06:37:58 +0000
commit5872135f9d3d237dec44c7b5758895ca58fa1c2d (patch)
treedc012963bdbe09921255fbb57d67b2de57bea405
parent2a1d1033c6457b0dedb4e7ed35a19d9a513622b6 (diff)
downloadrust-libc-5872135f9d3d237dec44c7b5758895ca58fa1c2d.tar.gz
openbsd: ignore ci error about unexistent KERN_NSELCOLL constant
This sysctl(2) constant has been removed. https://github.com/openbsd/src/commit/9bf42e341afcf2dd868da323254a70b8eb9463cf
-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 712b239ef8..4b34ae67ba 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -491,6 +491,8 @@ fn test_openbsd(target: &str) {
match name {
// Removed in OpenBSD 6.0
"KERN_USERMOUNT" | "KERN_ARND" => true,
+ // Removed in OpenBSD 7.2
+ "KERN_NSELCOLL" => true,
// Good chance it's going to be wrong depending on the host release
"KERN_MAXID" | "NET_RT_MAXID" => true,
"EV_SYSFLAGS" => true,