Skip to content

Commit

Permalink
Refine armv7l target architecture detection (#2408)
Browse files Browse the repository at this point in the history
Ref #2405
  • Loading branch information
messense authored Dec 23, 2024
1 parent 6f48294 commit 0825f6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ impl Target {
Architecture::X86_32(_) => Arch::X86,
Architecture::Arm(arm_arch) => match arm_arch {
ArmArchitecture::Arm | ArmArchitecture::Armv6 => Arch::Armv6L,
_ => Arch::Armv7L,
ArmArchitecture::Armv7 => Arch::Armv7L,
_ => bail!("The architecture {} is not supported", arm_arch),
},
Architecture::Aarch64(_) => Arch::Aarch64,
Architecture::Powerpc => Arch::Powerpc,
Expand Down

0 comments on commit 0825f6d

Please sign in to comment.