Crate find_msvc_tools
These modules are all glue to support reading the MSVC version from the registry and from COM interfaces.
Structs
-
Sdk
An SDK found by
find_windows_sdk -
Tool
Toolfound byfind-msvc-tools
Enums
Traits
Functions
- find Attempts to find a tool within an MSVC installation using the Windows registry as a point to search from.
-
find_tool
Similar to the
findfunction above, this function will attempt the same operation (finding a MSVC tool in a local install) but instead returns aToolwhich may be introspected. - find_tool_with_env
- find_vs_version Find the most recent installed version of Visual Studio
- find_windows_sdk Find the directories of the latest installed Windows SDK.
- get_ucrt_dir To find the Universal CRT we look in a specific registry key for where all the Universal CRTs are located and then sort them asciibetically to find the newest version. While this sort of sorting isn't ideal, it is what vcvars does so that's good enough for us.