Skip to content

Commit

Permalink
Auto merge of #2406 - asomers:fbsd12-default, r=JohnTitor
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Nov 6, 2023
2 parents 4d2b981 + d3f5a15 commit 17cc521
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 @@ -60,7 +60,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 @@ -70,7 +70,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 17cc521

Please sign in to comment.