File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -2935,6 +2935,10 @@ fn test_freebsd(target: &str) {
29352935 // Those are introduced in FreeBSD 15.
29362936 "xktls_session_onedir" | "xktls_session" if Some ( 15 ) > freebsd_ver => true ,
29372937
2938+ // __mcontext changed mc_spare and mc_tlsbase between OS releases, and `skip_field`
2939+ // doesn't seem to work for them.
2940+ "__mcontext" => true ,
2941+
29382942 _ => false ,
29392943 }
29402944 } ) ;
@@ -3074,11 +3078,6 @@ fn test_freebsd(target: &str) {
30743078 // `tcp_snd_wscale` and `tcp_rcv_wscale` are bitfields
30753079 ( "tcp_info" , "tcp_snd_wscale" ) => true ,
30763080 ( "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 ,
30823081
30833082 _ => false ,
30843083 }
You can’t perform that action at this time.
0 commit comments