Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect msvc version if there is no default #696

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

ChrisDenton
Copy link
Contributor

Fixes #695

If there is no default msvc version file, then this falls back to searching for other version files. This fixes an issue discovered in rust-lang/rustup#3024 where installing anything but the latest msvc version meant that rustup couldn't find it.

@ChrisDenton
Copy link
Contributor Author

Hm, these failures seem unrelated to my PR? Nothing should prevent even running tests. Looking back at other PRs it seems CI has been flaky as of late.

@dot-asm
Copy link
Contributor

dot-asm commented Jul 9, 2022

Hm, these failures seem unrelated to my PR?

Right, see #677.

@thomcc thomcc added the O-windows Windows targets and toolchains label Oct 26, 2022
@youknowone
Copy link
Contributor

@dot-asm @thomcc Does this PR requires more actions?

@dot-asm
Copy link
Contributor

dot-asm commented Sep 20, 2023

@dot-asm

My remark was purely on the GitHub Actions then failure, which is unrelated to the suggested modifications. In other words I had no comment on the actual substance, and still don't.

Copy link
Member

@thomcc thomcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I'd merge but I'll leave it to @ChrisDenton to do so.

@ChrisDenton
Copy link
Contributor Author

I'd honestly forgotten about this PR. I'll rebase and check my working...

@ChrisDenton
Copy link
Contributor Author

lgtm, thanks Chris!

@ChrisDenton ChrisDenton merged commit 5b91c7b into rust-lang:main Sep 24, 2023
16 checks passed
@ChrisDenton ChrisDenton deleted the detect-msvc branch September 24, 2023 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-windows Windows targets and toolchains
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot find MSVC 2019 build tools if installed with Visual Studio 2022
4 participants