You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Visual Studio 2022 does not have the MSVC 2022 build tools then Microsoft.VCToolsVersion.default.txt may be missing. However, if MSVC 2019 is installed Microsoft.VCToolsVersion.v142.default.txt is present. Therefore a possible fix would be to fallback to searching for this and other variations on this file name.
EDIT: This appears to also be broadly true for any version other than latest.
The text was updated successfully, but these errors were encountered:
Reported here: rust-lang/rustup#3024
A brief investigation shows this line to be the problem:
cc-rs/src/windows_registry.rs
Lines 461 to 462 in 53272c5
If the Visual Studio 2022 does not have the MSVC 2022 build tools then
Microsoft.VCToolsVersion.default.txt
may be missing. However, if MSVC 2019 is installedMicrosoft.VCToolsVersion.v142.default.txt
is present. Therefore a possible fix would be to fallback to searching for this and other variations on this file name.EDIT: This appears to also be broadly true for any version other than latest.
The text was updated successfully, but these errors were encountered: