Skip to content

Commit 80e37e1

Browse files
committed
removing freebsd 11 EOL proposal.
1 parent af676d1 commit 80e37e1

File tree

11 files changed

+206
-1223
lines changed

11 files changed

+206
-1223
lines changed

Diff for: build.rs

+1-8
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",
@@ -56,18 +54,13 @@ fn main() {
5654
);
5755
}
5856

59-
// The ABI of libc used by libstd is backward compatible with FreeBSD 10.
60-
// The ABI of libc from crates.io is backward compatible with FreeBSD 11.
61-
//
6257
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
6358
// running tests to ensure that the ABI is correct.
6459
match which_freebsd() {
65-
Some(10) if libc_ci || rustc_dep_of_std => set_cfg("freebsd10"),
66-
Some(11) if libc_ci => set_cfg("freebsd11"),
6760
Some(12) if libc_ci => set_cfg("freebsd12"),
6861
Some(13) if libc_ci => set_cfg("freebsd13"),
6962
Some(14) if libc_ci => set_cfg("freebsd14"),
70-
Some(_) | None => set_cfg("freebsd11"),
63+
Some(_) | None => set_cfg("freebsd12"),
7164
}
7265

7366
match emcc_version_code() {

Diff for: ci/dox.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ while read -r target; do
4747
rustup target add "${target}" || true
4848

4949
# Enable extra configuration flags:
50-
export RUSTDOCFLAGS="--cfg freebsd11"
50+
export RUSTDOCFLAGS="--cfg freebsd12"
5151

5252
# If cargo doc fails, then try with unstable feature:
5353
if ! cargo doc --target "${target}" \

Diff for: src/unix/bsd/freebsdlike/freebsd/freebsd11/b64.rs

-32
This file was deleted.

0 commit comments

Comments
 (0)