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 {
15651565 cmd. args . push ( "--target=x86_64-unknown-windows-gnu" . into ( ) ) ;
15661566 } else if target. contains ( "i686" ) {
15671567 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 ( ) )
15681570 }
15691571 } else {
15701572 cmd. args . push ( format ! ( "--target={}" , target) . into ( ) ) ;
@@ -2506,6 +2508,8 @@ impl Build {
25062508 . as_ref ( )
25072509 . map ( |s| s. trim_right_matches ( '-' ) . to_owned ( ) ) ;
25082510 cross_compile. or ( match & target[ ..] {
2511+ "aarch64-pc-windows-gnu" => Some ( "aarch64-w64-mingw32" ) ,
2512+ "aarch64-uwp-windows-gnu" => Some ( "aarch64-w64-mingw32" ) ,
25092513 "aarch64-unknown-linux-gnu" => Some ( "aarch64-linux-gnu" ) ,
25102514 "aarch64-unknown-linux-musl" => Some ( "aarch64-linux-musl" ) ,
25112515 "aarch64-unknown-netbsd" => Some ( "aarch64--netbsd" ) ,
You can’t perform that action at this time.
0 commit comments