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
@@ -3016,10 +3018,14 @@ impl Build {
30163018
30173019 if lib. is_empty ( ) {
30183020 name = String :: from ( "lib.exe" ) ;
3019- match windows_registry:: find ( & target, "lib.exe" ) {
3021+ let mut cmd = match windows_registry:: find ( & target, "lib.exe" ) {
30203022 Some ( t) => t,
30213023 None => self . cmd ( "lib.exe" ) ,
3024+ } ;
3025+ if target. contains ( "arm64ec" ) {
3026+ cmd. arg ( "/machine:arm64ec" ) ;
30223027 }
3028+ cmd
30233029 } else {
30243030 name = lib;
30253031 self . cmd ( & name)
You can’t perform that action at this time.
0 commit comments