Skip to content

Commit 3abb0d1

Browse files
semarietgross35
authored andcommitted
openbsd: skip ATF_* constants in CI
the constants were removed in OpenBSD 7.7 by openbsd/src@ff46e7d they were unused since 1991. (backport <rust-lang#4088>) (cherry picked from commit 8b3ccdf)
1 parent abfe64f commit 3abb0d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc-test/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,10 @@ fn test_openbsd(target: &str) {
580580
// Good chance it's going to be wrong depending on the host release
581581
"KERN_MAXID" | "NET_RT_MAXID" => true,
582582
"EV_SYSFLAGS" => true,
583+
584+
// Removed in OpenBSD 7.7 (unused since 1991)
585+
"ATF_COM" | "ATF_PERM" | "ATF_PUBL" | "ATF_USETRAILERS" => true,
586+
583587
_ => false,
584588
}
585589
});

0 commit comments

Comments
 (0)