File tree Expand file tree Collapse file tree 2 files changed +97
-60
lines changed Expand file tree Collapse file tree 2 files changed +97
-60
lines changed Original file line number Diff line number Diff line change @@ -1933,6 +1933,8 @@ impl Build {
19331933 } else {
19341934 if target. contains ( "i586" ) {
19351935 cmd. push_cc_arg ( "-arch:IA32" . into ( ) ) ;
1936+ } else if target. contains ( "arm64ec" ) {
1937+ cmd. push_cc_arg ( "-arm64EC" . into ( ) ) ;
19361938 }
19371939 }
19381940
@@ -3017,10 +3019,14 @@ impl Build {
30173019
30183020 if lib. is_empty ( ) {
30193021 name = String :: from ( "lib.exe" ) ;
3020- match windows_registry:: find ( & target, "lib.exe" ) {
3022+ let mut cmd = match windows_registry:: find ( & target, "lib.exe" ) {
30213023 Some ( t) => t,
30223024 None => self . cmd ( "lib.exe" ) ,
3025+ } ;
3026+ if target. contains ( "arm64ec" ) {
3027+ cmd. arg ( "/machine:arm64ec" ) ;
30233028 }
3029+ cmd
30243030 } else {
30253031 name = lib;
30263032 self . cmd ( & name)
You can’t perform that action at this time.
0 commit comments