File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,11 @@ fn main() {
2525 // On CI, we detect the actual FreeBSD version and match its ABI exactly,
2626 // running tests to ensure that the ABI is correct.
2727 match which_freebsd ( ) {
28- Some ( 10 ) if libc_ci || rustc_dep_of_std => {
29- println ! ( "cargo:rustc-cfg=freebsd10" )
30- }
31- Some ( 11 ) if libc_ci => println ! ( "cargo:rustc-cfg=freebsd11" ) ,
32- Some ( 12 ) if libc_ci => println ! ( "cargo:rustc-cfg=freebsd12" ) ,
33- Some ( 13 ) if libc_ci => println ! ( "cargo:rustc-cfg=freebsd13" ) ,
34- Some ( 14 ) if libc_ci => println ! ( "cargo:rustc-cfg=freebsd14" ) ,
28+ Some ( 10 ) => println ! ( "cargo:rustc-cfg=freebsd10" ) ,
29+ Some ( 11 ) => println ! ( "cargo:rustc-cfg=freebsd11" ) ,
30+ Some ( 12 ) => println ! ( "cargo:rustc-cfg=freebsd12" ) ,
31+ Some ( 13 ) => println ! ( "cargo:rustc-cfg=freebsd13" ) ,
32+ Some ( 14 ) => println ! ( "cargo:rustc-cfg=freebsd14" ) ,
3533 Some ( _) | None => println ! ( "cargo:rustc-cfg=freebsd11" ) ,
3634 }
3735
You can’t perform that action at this time.
0 commit comments