We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
target_os
target_arch
1 parent 20d3990 commit a56dcacCopy full SHA for a56dcac
build.rs
@@ -95,7 +95,7 @@ fn main() {
95
let musl_v1_2_3 = env::var("RUST_LIBC_UNSTABLE_MUSL_V1_2_3").is_ok();
96
println!("cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_MUSL_V1_2_3");
97
// loongarch64 and ohos have already updated
98
- if musl_v1_2_3 || target_os == "loongarch64" || target_env == "ohos" {
+ if musl_v1_2_3 || target_arch == "loongarch64" || target_env == "ohos" {
99
// FIXME(musl): enable time64 api as well
100
set_cfg("musl_v1_2_3");
101
}
0 commit comments