@@ -8,8 +8,6 @@ use std::string::String;
8
8
// make sure to add it to this list as well.
9
9
const ALLOWED_CFGS : & ' static [ & ' static str ] = & [
10
10
"emscripten_new_stat_abi" ,
11
- "freebsd10" ,
12
- "freebsd11" ,
13
11
"freebsd12" ,
14
12
"freebsd13" ,
15
13
"freebsd14" ,
@@ -65,12 +63,10 @@ fn main() {
65
63
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
66
64
// running tests to ensure that the ABI is correct.
67
65
match which_freebsd ( ) {
68
- Some ( 10 ) if libc_ci => set_cfg ( "freebsd10" ) ,
69
- Some ( 11 ) if libc_ci => set_cfg ( "freebsd11" ) ,
70
66
Some ( 12 ) if libc_ci || rustc_dep_of_std => set_cfg ( "freebsd12" ) ,
71
67
Some ( 13 ) if libc_ci => set_cfg ( "freebsd13" ) ,
72
68
Some ( 14 ) if libc_ci => set_cfg ( "freebsd14" ) ,
73
- Some ( _) | None => set_cfg ( "freebsd11 " ) ,
69
+ Some ( _) | None => set_cfg ( "freebsd12 " ) ,
74
70
}
75
71
76
72
match emcc_version_code ( ) {
@@ -247,8 +243,6 @@ fn which_freebsd() -> Option<i32> {
247
243
let stdout = stdout. unwrap ( ) ;
248
244
249
245
match & stdout {
250
- s if s. starts_with ( "10" ) => Some ( 10 ) ,
251
- s if s. starts_with ( "11" ) => Some ( 11 ) ,
252
246
s if s. starts_with ( "12" ) => Some ( 12 ) ,
253
247
s if s. starts_with ( "13" ) => Some ( 13 ) ,
254
248
s if s. starts_with ( "14" ) => Some ( 14 ) ,
0 commit comments