Skip to content

Commit 3386747

Browse files
committed
Limit mc_tlsbase field to FreeBSD 15+
1 parent bb0b51e commit 3386747

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3074,6 +3074,9 @@ fn test_freebsd(target: &str) {
30743074
// mc_spare can change in size between OS releases. It's a spare field, after all.
30753075
("__mcontext", "mc_spare") => true,
30763076

3077+
// mc_tlsbase introduced in FreeBSD 15
3078+
("__mcontext", "mc_tlsbase") => true,
3079+
30773080
_ => false,
30783081
}
30793082
});

0 commit comments

Comments
 (0)