File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1565,6 +1565,8 @@ impl Build {
1565
1565
cmd. args . push ( "--target=x86_64-unknown-windows-gnu" . into ( ) ) ;
1566
1566
} else if target. contains ( "i686" ) {
1567
1567
cmd. args . push ( "--target=i686-unknown-windows-gnu" . into ( ) )
1568
+ } else if target. contains ( "aarch64" ) {
1569
+ cmd. args . push ( "--target=aarch64-unknown-windows-gnu" . into ( ) )
1568
1570
}
1569
1571
} else {
1570
1572
cmd. args . push ( format ! ( "--target={}" , target) . into ( ) ) ;
@@ -2506,6 +2508,8 @@ impl Build {
2506
2508
. as_ref ( )
2507
2509
. map ( |s| s. trim_right_matches ( '-' ) . to_owned ( ) ) ;
2508
2510
cross_compile. or ( match & target[ ..] {
2511
+ "aarch64-pc-windows-gnu" => Some ( "aarch64-w64-mingw32" ) ,
2512
+ "aarch64-uwp-windows-gnu" => Some ( "aarch64-w64-mingw32" ) ,
2509
2513
"aarch64-unknown-linux-gnu" => Some ( "aarch64-linux-gnu" ) ,
2510
2514
"aarch64-unknown-linux-musl" => Some ( "aarch64-linux-musl" ) ,
2511
2515
"aarch64-unknown-netbsd" => Some ( "aarch64--netbsd" ) ,
You can’t perform that action at this time.
0 commit comments