Skip to content

Commit db329cc

Browse files
committed
msvc: find tools correctly when target is thumbv7a
1 parent 74ce606 commit db329cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/windows_registry.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,8 @@ mod impl_ {
523523
("i586", X86_64) | ("i686", X86_64) => vec![("amd64_x86", "amd64"), ("", "")],
524524
("x86_64", X86) => vec![("x86_amd64", "")],
525525
("x86_64", X86_64) => vec![("amd64", "amd64"), ("x86_amd64", "")],
526-
("arm", X86) => vec![("x86_arm", "")],
527-
("arm", X86_64) => vec![("amd64_arm", "amd64"), ("x86_arm", "")],
526+
("arm", X86) | ("thumbv7a", X86) => vec![("x86_arm", "")],
527+
("arm", X86_64) | ("thumbv7a", X86_64) => vec![("amd64_arm", "amd64"), ("x86_arm", "")],
528528
_ => vec![],
529529
}
530530
}
@@ -534,7 +534,7 @@ mod impl_ {
534534
match arch {
535535
"i586" | "i686" => Some("x86"),
536536
"x86_64" => Some("x64"),
537-
"arm" => Some("arm"),
537+
"arm" | "thumbv7a" => Some("arm"),
538538
"aarch64" => Some("arm64"),
539539
_ => None,
540540
}
@@ -546,7 +546,7 @@ mod impl_ {
546546
match arch {
547547
"i586" | "i686" => Some(""),
548548
"x86_64" => Some("amd64"),
549-
"arm" => Some("arm"),
549+
"arm" | "thumbv7a" => Some("arm"),
550550
"aarch64" => Some("arm64"),
551551
_ => None,
552552
}

0 commit comments

Comments
 (0)