Skip to content

Commit 1b04975

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 a50d9e8 commit 1b04975

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
@@ -20,7 +20,7 @@ fn main() {
2020
}
2121

2222
// The ABI of libc used by libstd is backward compatible with FreeBSD 10.
23-
// The ABI of libc from crates.io is backward compatible with FreeBSD 11.
23+
// The ABI of libc from crates.io is backward compatible with FreeBSD 12.
2424
//
2525
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
2626
// running tests to ensure that the ABI is correct.
@@ -31,7 +31,7 @@ fn main() {
3131
Some(11) if libc_ci => println!("cargo:rustc-cfg=freebsd11"),
3232
Some(12) if libc_ci => println!("cargo:rustc-cfg=freebsd12"),
3333
Some(13) if libc_ci => println!("cargo:rustc-cfg=freebsd13"),
34-
Some(_) | None => println!("cargo:rustc-cfg=freebsd11"),
34+
Some(_) | None => println!("cargo:rustc-cfg=freebsd12"),
3535
}
3636

3737
// On CI: deny all warnings

0 commit comments

Comments
 (0)