Skip to content

Commit f01623a

Browse files
committed
removing freebsd 11 EOL proposal.
1 parent 89ec881 commit f01623a

File tree

8 files changed

+12
-628
lines changed

8 files changed

+12
-628
lines changed

build.rs

+4-9
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,13 @@ fn main() {
5454
);
5555
}
5656

57-
// The ABI of libc used by libstd is backward compatible with FreeBSD 10.
58-
// The ABI of libc from crates.io is backward compatible with FreeBSD 11.
59-
//
6057
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
6158
// running tests to ensure that the ABI is correct.
6259
match which_freebsd() {
63-
Some(10) if libc_ci || rustc_dep_of_std => set_cfg("freebsd10"),
64-
Some(11) if libc_ci => set_cfg("freebsd11"),
65-
Some(12) if libc_ci => set_cfg("freebsd12"),
66-
Some(13) if libc_ci => set_cfg("freebsd13"),
67-
Some(14) if libc_ci => set_cfg("freebsd14"),
68-
Some(_) | None => set_cfg("freebsd11"),
60+
Some(12) if libc_ci => println!("cargo:rustc-cfg=freebsd12"),
61+
Some(13) if libc_ci => println!("cargo:rustc-cfg=freebsd13"),
62+
Some(14) if libc_ci => println!("cargo:rustc-cfg=freebsd14"),
63+
Some(_) | None => println!("cargo:rustc-cfg=freebsd12"),
6964
}
7065

7166
// On CI: deny all warnings

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}" \

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

-32
This file was deleted.

0 commit comments

Comments
 (0)