File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,9 @@ impl Config {
420
420
} else if target. contains ( "thumbv7a" ) {
421
421
cmd. arg ( "-Thost=x64" ) ;
422
422
cmd. arg ( "-Aarm" ) ;
423
+ } else if target. contains ( "aarch64" ) {
424
+ cmd. arg ( "-Thost=x64" ) ;
425
+ cmd. arg ( "-AARM64" ) ;
423
426
} else if target. contains ( "i686" ) {
424
427
use cc:: windows_registry:: { find_vs_version, VsVers } ;
425
428
match find_vs_version ( ) {
@@ -737,7 +740,7 @@ impl Config {
737
740
) ,
738
741
Err ( msg) => panic ! ( msg) ,
739
742
} ;
740
- if target . contains ( "i686" ) || target . contains ( "x86_64" ) | | target. contains ( "thumbv7a" ) {
743
+ if [ "i686" , "x86_64" , "thumbv7a" , "aarch64" ] . iter ( ) . any ( |t | target. contains ( t ) ) {
741
744
base. to_string ( )
742
745
} else {
743
746
panic ! ( "unsupported msvc target: {}" , target) ;
You can’t perform that action at this time.
0 commit comments