Skip to content

Commit f609845

Browse files
authored
Merge pull request #4461 from semarie/openbsd-cleanup
openbsd: ignore some constants in CI (removed in upcoming OpenBSD 7.8)
2 parents b469721 + f5220c1 commit f609845

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libc-test/build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,9 +590,12 @@ fn test_openbsd(target: &str) {
590590

591591
cfg.skip_const(move |name| {
592592
match name {
593-
// Removed in OpenBSD 7.7 (unused since 1991)
593+
// Removed in OpenBSD 7.7
594594
"ATF_COM" | "ATF_PERM" | "ATF_PUBL" | "ATF_USETRAILERS" => true,
595595

596+
// Removed in OpenBSD 7.8
597+
"CTL_FS" | "SO_NETPROC" => true,
598+
596599
_ => false,
597600
}
598601
});

0 commit comments

Comments
 (0)