Skip to content

Commit b60cffa

Browse files
committed
FreeBSD: skip checking of xktls_session* structs on FreeBSD 14.x and older
1 parent 8990852 commit b60cffa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

libc-test/build.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2910,6 +2910,13 @@ fn test_freebsd(target: &str) {
29102910
// Those are introduced in FreeBSD 14.1.
29112911
"kcmp" => true,
29122912

2913+
// Those are introduced in FreeBSD 15.
2914+
"xktls_session_onedir" | "xktls_session"
2915+
if Some(15) > freebsd_ver =>
2916+
{
2917+
true
2918+
}
2919+
29132920
_ => false,
29142921
}
29152922
});

0 commit comments

Comments
 (0)