File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,11 @@ fn main() {
25
25
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
26
26
// running tests to ensure that the ABI is correct.
27
27
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" ) ,
35
33
Some ( _) | None => println ! ( "cargo:rustc-cfg=freebsd11" ) ,
36
34
}
37
35
You can’t perform that action at this time.
0 commit comments