Skip to content

Commit

Permalink
Raise libc's FreeBSD ABI to 12
Browse files Browse the repository at this point in the history
FreeBSD 11 will be EoL on 30-Sept-2021.  Update libc's ABI to the
minimum supported version of FreeBSD.
  • Loading branch information
asomers committed Jul 26, 2023
1 parent af676d1 commit d3f5a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ 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.
// The ABI of libc from crates.io is backward compatible with FreeBSD 12.
//
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
// running tests to ensure that the ABI is correct.
Expand All @@ -67,7 +67,7 @@ fn main() {
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

0 comments on commit d3f5a15

Please sign in to comment.