Skip to content

Commit 89b0740

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 53f78cd commit 89b0740

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.
@@ -32,7 +32,7 @@ fn main() {
3232
Some(12) if libc_ci => println!("cargo:rustc-cfg=freebsd12"),
3333
Some(13) if libc_ci => println!("cargo:rustc-cfg=freebsd13"),
3434
Some(14) if libc_ci => println!("cargo:rustc-cfg=freebsd14"),
35-
Some(_) | None => println!("cargo:rustc-cfg=freebsd11"),
35+
Some(_) | None => println!("cargo:rustc-cfg=freebsd12"),
3636
}
3737

3838
// On CI: deny all warnings

0 commit comments

Comments
 (0)