Skip to content

Commit e555da9

Browse files
committed
support thumbv7a when building args for MSVC
1 parent 5ada387 commit e555da9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

+3
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() {

0 commit comments

Comments
 (0)