Skip to content

Commit

Permalink
Use x64->x86 MSVC cross-compiler if possible (#99748)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnavara authored Mar 14, 2024
1 parent 689cf79 commit 70d3cee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/coreclr/nativeaot/BuildIntegration/findvcvarsall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ IF /I "%~1"=="arm64" (
SET vcEnvironment=x86_arm64
IF /I "%procArch%"=="AMD64" SET vcEnvironment=amd64_arm64
)
IF /I "%~1"=="x86" (
IF /I "%procArch%"=="AMD64" SET vcEnvironment=amd64_x86
)

CALL "%vsBase%\vc\Auxiliary\Build\vcvarsall.bat" %vcEnvironment% > NUL

Expand Down

0 comments on commit 70d3cee

Please sign in to comment.