Skip to content

Distribute x64 and arm64 binaries instead of x86 - #1637

Open
Yexuan Xiao (YexuanXiao) wants to merge 1 commit into
microsoft:masterfrom
YexuanXiao:binary-arch-upstream
Open

Yexuan Xiao (YexuanXiao) wants to merge 1 commit into
microsoft:masterfrom
YexuanXiao:binary-arch-upstream

Conversation

@YexuanXiao

@YexuanXiao Yexuan Xiao (YexuanXiao) commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

The cppwinrt.exe currently shipped in the NuGet package is still x86. I think almost no one runs cppwinrt on x86 OS these days, and using 64 bit cppwinrt can improve build performance.

I tested the speed of the x86 and x64 binaries for generating system metadata projections: 7% faster for a fresh generation, and 21% faster when projections already exist on disk.

On 64 bit OS, MSBuild may run in x86 mode, for example when using VS2022 x86 or x86 VS prompt. When this happens, the x86 binary will be mapped to the x64 binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant