Skip to content

Commit

Permalink
Update eng/native/init-vs-env.cmd
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
  • Loading branch information
eiriktsarpalis and jkotas authored Jul 12, 2024
1 parent 9b9abf5 commit a1b95c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eng/native/init-vs-env.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@

set "__VCBuildArch="
if /i "%PROCESSOR_ARCHITECTURE%" == "ARM64" (
set __VCBuildArch=arm64
if /i "%~1" == "x64" ( set __VCBuildArch=arm64_amd64 )
if /i "%~1" == "x86" ( set __VCBuildArch=arm64_x86 )
if /i "%~1" == "arm64" ( set __VCBuildArch=arm64 )
if /i "%~1" == "wasm" ( set __VCBuildArch=arm64 )
) else (
if /i "%~1" == "x64" ( set __VCBuildArch=amd64 )
if /i "%~1" == "x86" ( set __VCBuildArch=amd64_x86 )
Expand Down

0 comments on commit a1b95c1

Please sign in to comment.