mirror of
https://github.com/serde-rs/json.git
synced 2025-10-02 15:26:00 +00:00
Set limb width to 64 for loongarch64
This commit is contained in:
parent
df5cf215b7
commit
c80dbaf8ff
2
build.rs
2
build.rs
@ -7,7 +7,7 @@ fn main() {
|
||||
// src/lexical/math.rs for where this has an effect.
|
||||
let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap();
|
||||
match target_arch.as_str() {
|
||||
"aarch64" | "mips64" | "powerpc64" | "x86_64" => {
|
||||
"aarch64" | "mips64" | "powerpc64" | "x86_64" | "loongarch64" => {
|
||||
println!("cargo:rustc-cfg=limb_width_64");
|
||||
}
|
||||
_ => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user