We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3df56a commit 0a80741Copy full SHA for 0a80741
library/std/build.rs
@@ -4,10 +4,8 @@ fn main() {
4
println!("cargo:rerun-if-changed=build.rs");
5
let target = env::var("TARGET").expect("TARGET was not set");
6
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");
+ if env::var("RUST_STD_FREEBSD_13_ABI").is_ok() {
11
println!("cargo:rustc-cfg=freebsd13");
12
}
13
} else if target.contains("linux")
0 commit comments