std: freebsd build update.
since freebsd 11 had been removed, minimum is now 12.
This commit is contained in:
parent
f31316f7a9
commit
9a963e8026
@ -4,10 +4,8 @@ fn main() {
|
|||||||
println!("cargo:rerun-if-changed=build.rs");
|
println!("cargo:rerun-if-changed=build.rs");
|
||||||
let target = env::var("TARGET").expect("TARGET was not set");
|
let target = env::var("TARGET").expect("TARGET was not set");
|
||||||
if target.contains("freebsd") {
|
if target.contains("freebsd") {
|
||||||
if env::var("RUST_STD_FREEBSD_12_ABI").is_ok() {
|
|
||||||
println!("cargo:rustc-cfg=freebsd12");
|
|
||||||
} else if env::var("RUST_STD_FREEBSD_13_ABI").is_ok() {
|
|
||||||
println!("cargo:rustc-cfg=freebsd12");
|
println!("cargo:rustc-cfg=freebsd12");
|
||||||
|
if env::var("RUST_STD_FREEBSD_13_ABI").is_ok() {
|
||||||
println!("cargo:rustc-cfg=freebsd13");
|
println!("cargo:rustc-cfg=freebsd13");
|
||||||
}
|
}
|
||||||
} else if target.contains("linux")
|
} else if target.contains("linux")
|
||||||
|
Loading…
Reference in New Issue
Block a user