This breaks canary builds on Windows because compiler('cxx') selects an older version of Visual Studio. Visual Studio 2022 is available, so pinning the compiler version will allow Windows canary builds to succeed again.
Checklist - did you ...
[X] Add a file to the news directory (using the template) for the next release's release notes?
Description
GitHub has removed Visual Studio components recently (see https://github.com/actions/runner-images/pull/9853).
This breaks canary builds on Windows because
compiler('cxx')
selects an older version of Visual Studio. Visual Studio 2022 is available, so pinning the compiler version will allow Windows canary builds to succeed again.Checklist - did you ...
news
directory (using the template) for the next release's release notes?