We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 117d6b0 commit 4bafe6bCopy full SHA for 4bafe6b
build.rs
@@ -43,16 +43,16 @@ fn main() {
43
let libc_check_cfg = env::var("LIBC_CHECK_CFG").is_ok() || rustc_minor_ver >= 80;
44
45
// 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.
+ // The ABI of libc from crates.io is backward compatible with FreeBSD 12.
47
//
48
// On CI, we detect the actual FreeBSD version and match its ABI exactly,
49
// running tests to ensure that the ABI is correct.
50
let which_freebsd = if libc_ci {
51
- which_freebsd().unwrap_or(11)
+ which_freebsd().unwrap_or(12)
52
} else if rustc_dep_of_std {
53
12
54
} else {
55
- 11
+ 12
56
};
57
match which_freebsd {
58
x if x < 10 => panic!("FreeBSD older than 10 is not supported"),
0 commit comments