We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
contains
__mcontext
1 parent 6290d3d commit 88ca383Copy full SHA for 88ca383
libc-test/build.rs
@@ -3074,11 +3074,9 @@ fn test_freebsd(target: &str) {
3074
// `tcp_snd_wscale` and `tcp_rcv_wscale` are bitfields
3075
("tcp_info", "tcp_snd_wscale") => true,
3076
("tcp_info", "tcp_rcv_wscale") => true,
3077
- // mc_spare can change in size between OS releases. It's a spare field, after all.
3078
- ("__mcontext", "mc_spare") => true,
3079
3080
- // mc_tlsbase introduced in FreeBSD 15
3081
- ("__mcontext", "mc_tlsbase") => true,
+ // __mcontext changed mc_spare and mc_tlsbase between OS releases.
+ (t, "mc_spare" | "mc_tlsbase") if t.contains("mcontext") => true,
3082
3083
_ => false,
3084
}
0 commit comments