Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing freebsd 11 EOL proposal. #3139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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