From f5220c14ac26b67bcfc05567f562c8d497a9ce4a Mon Sep 17 00:00:00 2001 From: Sebastien Marie Date: Sun, 25 May 2025 12:59:10 +0000 Subject: [PATCH] openbsd: ignore some constants in CI (removed in upcoming OpenBSD 7.8) --- libc-test/build.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libc-test/build.rs b/libc-test/build.rs index a31d6ba4878ba..7d7062cb9b97b 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -590,9 +590,12 @@ fn test_openbsd(target: &str) { cfg.skip_const(move |name| { match name { - // Removed in OpenBSD 7.7 (unused since 1991) + // Removed in OpenBSD 7.7 "ATF_COM" | "ATF_PERM" | "ATF_PUBL" | "ATF_USETRAILERS" => true, + // Removed in OpenBSD 7.8 + "CTL_FS" | "SO_NETPROC" => true, + _ => false, } });