Skip to content

Commit 0a80741

Browse files
committed
std: freebsd build update.
since freebsd 11 had been removed, minimum is now 12.
1 parent b3df56a commit 0a80741

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

library/std/build.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ fn main() {
44
println!("cargo:rerun-if-changed=build.rs");
55
let target = env::var("TARGET").expect("TARGET was not set");
66
if target.contains("freebsd") {
7-
if env::var("RUST_STD_FREEBSD_12_ABI").is_ok() {
8-
println!("cargo:rustc-cfg=freebsd12");
9-
} else if env::var("RUST_STD_FREEBSD_13_ABI").is_ok() {
10-
println!("cargo:rustc-cfg=freebsd12");
7+
println!("cargo:rustc-cfg=freebsd12");
8+
if env::var("RUST_STD_FREEBSD_13_ABI").is_ok() {
119
println!("cargo:rustc-cfg=freebsd13");
1210
}
1311
} else if target.contains("linux")

0 commit comments

Comments
 (0)