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
cc-rs seems to be unable to locate local VS install and build tools unless Latest build tools component is installed from the Visual Studio Installer. Any other MSVC build tool packages (out of supported or pinned version build tool packages that can be installed from Individual Components tab) will result in cc-rs being unable to find and use Visual Studio install.
Steps to reproduce:
Open Visual Studio Installer
Install Visual Studio Community 2022
Select "Desktop Development with C++" workload
Unselect "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)" component
Go to individual components tab and select other version of MSVC build tools here ("MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38 - v17.8)" in my case).
Install the selected components
Try compiling a native crate ("`libsqlite3-sys v0.27.0" in my case).
Observe that cc-rs cannot find installation path for cl.exe