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 fecc86e commit 4c52a68Copy full SHA for 4c52a68
build.rs
@@ -91,7 +91,7 @@ fn main() {
91
let musl_v1_2_3 = env::var("RUST_LIBC_UNSTABLE_MUSL_V1_2_3").is_ok();
92
println!("cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_MUSL_V1_2_3");
93
// loongarch64 and ohos have already updated
94
- if musl_v1_2_3 || target_os == "loongarch64" || target_env == "ohos" {
+ if musl_v1_2_3 || target_arch == "loongarch64" || target_env == "ohos" {
95
// FIXME(musl): enable time64 api as well
96
set_cfg("musl_v1_2_3");
97
}
0 commit comments