Skip to content

Commit 63cf6a1

Browse files
authored
Merge pull request #2406 from asomers/fbsd12-default
Raise libc's FreeBSD ABI to 12
2 parents 117d6b0 + 4bafe6b commit 63cf6a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ fn main() {
4343
let libc_check_cfg = env::var("LIBC_CHECK_CFG").is_ok() || rustc_minor_ver >= 80;
4444

4545
// The ABI of libc used by std is backward compatible with FreeBSD 12.
46-
// The ABI of libc from crates.io is backward compatible with FreeBSD 11.
46+
// The ABI of libc from crates.io is backward compatible with FreeBSD 12.
4747
//
4848
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
4949
// running tests to ensure that the ABI is correct.
5050
let which_freebsd = if libc_ci {
51-
which_freebsd().unwrap_or(11)
51+
which_freebsd().unwrap_or(12)
5252
} else if rustc_dep_of_std {
5353
12
5454
} else {
55-
11
55+
12
5656
};
5757
match which_freebsd {
5858
x if x < 10 => panic!("FreeBSD older than 10 is not supported"),

0 commit comments

Comments
 (0)