Skip to content

VS: ARM64 as default toolset architecture for ARM64 host

Visual Studio 2022 Preview 17 introduced native ARM64 toolchain. This patch set native ARM64 toolchain as default host toolset architecture for ARM64 CMake builds.

However, MSBuild seems to have a bug around setting PreferredToolsetArchitecture to ARM64 so the changes proposed here wouldn't useful until that issue is resolved. But it seems harmless to enable this change as Visual studio can default to x86 if it can't find the native toolchain.

Merge request reports