Skip to content

Commit ce6ca0e

Browse files
authored
Merge pull request #78 from chandde/master
add support for thumbv7a-pc-windows-msvc
2 parents d99f35e + e555da9 commit ce6ca0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ impl Config {
417417
if target.contains("x86_64") {
418418
cmd.arg("-Thost=x64");
419419
cmd.arg("-Ax64");
420+
} else if target.contains("thumbv7a") {
421+
cmd.arg("-Thost=x64");
422+
cmd.arg("-Aarm");
420423
} else if target.contains("i686") {
421424
use cc::windows_registry::{find_vs_version, VsVers};
422425
match find_vs_version() {
@@ -734,7 +737,7 @@ impl Config {
734737
),
735738
Err(msg) => panic!(msg),
736739
};
737-
if target.contains("i686") || target.contains("x86_64") {
740+
if target.contains("i686") || target.contains("x86_64") || target.contains("thumbv7a") {
738741
base.to_string()
739742
} else {
740743
panic!("unsupported msvc target: {}", target);

0 commit comments

Comments
 (0)