Skip to content

Commit

Permalink
Merge pull request #1100 from heiher/limb-64-la64
Browse files Browse the repository at this point in the history
Set limb width to 64 for loongarch64
  • Loading branch information
dtolnay authored Jan 4, 2024
2 parents df5cf21 + c80dbaf commit 96ecfad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
_ => {
Expand Down

0 comments on commit 96ecfad

Please sign in to comment.