Skip to content

Commit d3f5a15

Browse files
committed
Raise libc's FreeBSD ABI to 12
FreeBSD 11 will be EoL on 30-Sept-2021. Update libc's ABI to the minimum supported version of FreeBSD.
1 parent af676d1 commit d3f5a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fn main() {
5757
}
5858

5959
// 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.
60+
// The ABI of libc from crates.io is backward compatible with FreeBSD 12.
6161
//
6262
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
6363
// running tests to ensure that the ABI is correct.
@@ -67,7 +67,7 @@ fn main() {
6767
Some(12) if libc_ci => set_cfg("freebsd12"),
6868
Some(13) if libc_ci => set_cfg("freebsd13"),
6969
Some(14) if libc_ci => set_cfg("freebsd14"),
70-
Some(_) | None => set_cfg("freebsd11"),
70+
Some(_) | None => set_cfg("freebsd12"),
7171
}
7272

7373
match emcc_version_code() {

0 commit comments

Comments
 (0)