Skip to content

Commit

Permalink
Merge pull request #346 from jordanrh1/windows-arm
Browse files Browse the repository at this point in the history
msvc: find tools correctly when target is thumbv7a
  • Loading branch information
alexcrichton authored Sep 6, 2018
2 parents 74ce606 + db329cc commit 341d518
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/windows_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ mod impl_ {
("i586", X86_64) | ("i686", X86_64) => vec![("amd64_x86", "amd64"), ("", "")],
("x86_64", X86) => vec![("x86_amd64", "")],
("x86_64", X86_64) => vec![("amd64", "amd64"), ("x86_amd64", "")],
("arm", X86) => vec![("x86_arm", "")],
("arm", X86_64) => vec![("amd64_arm", "amd64"), ("x86_arm", "")],
("arm", X86) | ("thumbv7a", X86) => vec![("x86_arm", "")],
("arm", X86_64) | ("thumbv7a", X86_64) => vec![("amd64_arm", "amd64"), ("x86_arm", "")],
_ => vec![],
}
}
Expand All @@ -534,7 +534,7 @@ mod impl_ {
match arch {
"i586" | "i686" => Some("x86"),
"x86_64" => Some("x64"),
"arm" => Some("arm"),
"arm" | "thumbv7a" => Some("arm"),
"aarch64" => Some("arm64"),
_ => None,
}
Expand All @@ -546,7 +546,7 @@ mod impl_ {
match arch {
"i586" | "i686" => Some(""),
"x86_64" => Some("amd64"),
"arm" => Some("arm"),
"arm" | "thumbv7a" => Some("arm"),
"aarch64" => Some("arm64"),
_ => None,
}
Expand Down

0 comments on commit 341d518

Please sign in to comment.