compiler-explorer / compiler-explorer/infra

Add support for MSVC "Visual Studio 2022 Preview channel"

Open
#1,147 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
434
Forks
429
Avg merge
4d 21h
Merged PRs (30d)
38

Description

Microsoft regularly publishes beta "preview" versions of MSVC, expanding the features covered in C and C++ languages, and sometimes changing the behavior of the command-line tool `cl.exe`. I'm using this preview release to test for bugs and missing features of the compiler, in order not have to report already fixed bugs, and be up-to-date w.r.t. new behaviors of the compiler. It would be quite useful to have access to the preview channel of MSVC in godbolt.org!
I don't know how the infrastructure's set up, but a first step could be to switch the install channel to `Visual Studio 2022 Preview channel` using Visual Studio Installer [`--channelUri` or `--channelId`](https://learn.microsoft.com/en-us/visualstudio/install/command-line-parameter-examples?view=vs-2022#using---channeluri) to (respectively) `https://aka.ms/vs/17/pre/channel` and `VisualStudio.17.Preview`.
This would also bring the support on par with other compilers, for which the `trunk` branch is already available in godbolt.
Thanks for the hard work!

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is named. Start by locating the Visual Studio Installer configuration for MSVC, then verify how the channel is selected and how compiler availability is checked; done means the Visual Studio 2022 Preview channel is available in Compiler Explorer alongside existing MSVC versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
compilers, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.