[llvm-branch-commits] [llvm] release/23.x: [WindowsDriver] Find Visual Studio through the Setup API on MinGW (#226794) (PR #236691)

Martin Storsjö via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 30 14:53:43 PDT 2026


mstorsjo wrote:

As of right now, using a mingw built Clang to target MSVC works, if running with the MSVC environment variables set. If the MSVC environment variables aren't set, Clang doesn't find the MSVC install and can't target it.

With an MSVC mode built Clang, it can figure out where MSVC is installed even if the MSVC environment variables have been set.

So I agree that this isn't a high priority issue (and I did raise concerns to the contributor who requested the backport in https://github.com/llvm/llvm-project/pull/226794, that it might not be accepted at this point). But as the fix should be quite safe I said we could give it a shot at least.

https://github.com/llvm/llvm-project/pull/236691


More information about the llvm-branch-commits mailing list