Skip to content

Commit

Permalink
removing freebsd 11 EOL proposal.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Jul 26, 2023
1 parent af676d1 commit 80e37e1
Show file tree
Hide file tree
Showing 11 changed files with 206 additions and 1,223 deletions.
9 changes: 1 addition & 8 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 @@ -56,18 +54,13 @@ fn main() {
);
}

// The ABI of libc used by libstd is backward compatible with FreeBSD 10.
// The ABI of libc from crates.io is backward compatible with FreeBSD 11.
//
// 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 || rustc_dep_of_std => set_cfg("freebsd10"),
Some(11) if libc_ci => set_cfg("freebsd11"),
Some(12) if libc_ci => 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
2 changes: 1 addition & 1 deletion ci/dox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ while read -r target; do
rustup target add "${target}" || true

# Enable extra configuration flags:
export RUSTDOCFLAGS="--cfg freebsd11"
export RUSTDOCFLAGS="--cfg freebsd12"

# If cargo doc fails, then try with unstable feature:
if ! cargo doc --target "${target}" \
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 80e37e1

Please sign in to comment.