Skip to content

Commit

Permalink
removing freebsd10/11 support proposal.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Dec 20, 2023
1 parent 8fd4fa1 commit 69d7d12
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 645 deletions.
6 changes: 1 addition & 5 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ use std::string::String;
// make sure to add it to this list as well.
const ALLOWED_CFGS: &'static [&'static str] = &[
"emscripten_new_stat_abi",
"freebsd10",
"freebsd11",
"freebsd12",
"freebsd13",
"freebsd14",
Expand Down Expand Up @@ -65,12 +63,10 @@ fn main() {
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
// running tests to ensure that the ABI is correct.
match which_freebsd() {
Some(10) if libc_ci => set_cfg("freebsd10"),
Some(11) if libc_ci => set_cfg("freebsd11"),
Some(12) if libc_ci || rustc_dep_of_std => set_cfg("freebsd12"),
Some(13) if libc_ci => set_cfg("freebsd13"),
Some(14) if libc_ci => set_cfg("freebsd14"),
Some(_) | None => set_cfg("freebsd11"),
Some(_) | None => set_cfg("freebsd12"),
}

match emcc_version_code() {
Expand Down
32 changes: 0 additions & 32 deletions src/unix/bsd/freebsdlike/freebsd/freebsd11/b64.rs

This file was deleted.

Loading

0 comments on commit 69d7d12

Please sign in to comment.