Skip to content

Commit 1c82b74

Browse files
committed
removing freebsd10/11 support proposal.
1 parent 8fd4fa1 commit 1c82b74

File tree

7 files changed

+12
-647
lines changed

7 files changed

+12
-647
lines changed

build.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ use std::string::String;
88
// make sure to add it to this list as well.
99
const ALLOWED_CFGS: &'static [&'static str] = &[
1010
"emscripten_new_stat_abi",
11-
"freebsd10",
12-
"freebsd11",
1311
"freebsd12",
1412
"freebsd13",
1513
"freebsd14",
@@ -65,12 +63,10 @@ fn main() {
6563
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
6664
// running tests to ensure that the ABI is correct.
6765
match which_freebsd() {
68-
Some(10) if libc_ci => set_cfg("freebsd10"),
69-
Some(11) if libc_ci => set_cfg("freebsd11"),
7066
Some(12) if libc_ci || rustc_dep_of_std => set_cfg("freebsd12"),
7167
Some(13) if libc_ci => set_cfg("freebsd13"),
7268
Some(14) if libc_ci => set_cfg("freebsd14"),
73-
Some(_) | None => set_cfg("freebsd11"),
69+
Some(_) | None => set_cfg("freebsd12"),
7470
}
7571

7672
match emcc_version_code() {
@@ -247,8 +243,6 @@ fn which_freebsd() -> Option<i32> {
247243
let stdout = stdout.unwrap();
248244

249245
match &stdout {
250-
s if s.starts_with("10") => Some(10),
251-
s if s.starts_with("11") => Some(11),
252246
s if s.starts_with("12") => Some(12),
253247
s if s.starts_with("13") => Some(13),
254248
s if s.starts_with("14") => Some(14),

src/unix/bsd/freebsdlike/freebsd/freebsd11/b64.rs

-32
This file was deleted.

0 commit comments

Comments
 (0)