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 {
1933
1933
} else {
1934
1934
if target. contains ( "i586" ) {
1935
1935
cmd. push_cc_arg ( "-arch:IA32" . into ( ) ) ;
1936
+ } else if target. contains ( "arm64ec" ) {
1937
+ cmd. push_cc_arg ( "-arm64EC" . into ( ) ) ;
1936
1938
}
1937
1939
}
1938
1940
@@ -3016,10 +3018,14 @@ impl Build {
3016
3018
3017
3019
if lib. is_empty ( ) {
3018
3020
name = String :: from ( "lib.exe" ) ;
3019
- match windows_registry:: find ( & target, "lib.exe" ) {
3021
+ let mut cmd = match windows_registry:: find ( & target, "lib.exe" ) {
3020
3022
Some ( t) => t,
3021
3023
None => self . cmd ( "lib.exe" ) ,
3024
+ } ;
3025
+ if target. contains ( "arm64ec" ) {
3026
+ cmd. arg ( "/machine:arm64ec" ) ;
3022
3027
}
3028
+ cmd
3023
3029
} else {
3024
3030
name = lib;
3025
3031
self . cmd ( & name)
You can’t perform that action at this time.
0 commit comments