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 @@ -1469,6 +1469,9 @@ impl Build {
14691469 if target. contains ( "x86_64" ) {
14701470 cmd. args . push ( "-arch" . into ( ) ) ;
14711471 cmd. args . push ( "x86_64" . into ( ) ) ;
1472+ } else if target. contains ( "arm64e" ) {
1473+ cmd. args . push ( "-arch" . into ( ) ) ;
1474+ cmd. args . push ( "arm64e" . into ( ) ) ;
14721475 } else if target. contains ( "aarch64" ) {
14731476 cmd. args . push ( "-arch" . into ( ) ) ;
14741477 cmd. args . push ( "arm64" . into ( ) ) ;
@@ -1852,6 +1855,7 @@ impl Build {
18521855 let arch = match arch {
18531856 "arm" | "armv7" | "thumbv7" => ArchSpec :: Device ( "armv7" ) ,
18541857 "armv7s" | "thumbv7s" => ArchSpec :: Device ( "armv7s" ) ,
1858+ "arm64e" => ArchSpec :: Device ( "arm64e" ) ,
18551859 "arm64" | "aarch64" => ArchSpec :: Device ( "arm64" ) ,
18561860 "i386" | "i686" => ArchSpec :: Simulator ( "-m32" ) ,
18571861 "x86_64" => ArchSpec :: Simulator ( "-m64" ) ,
You can’t perform that action at this time.
0 commit comments