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