Skip to content

find-msvc-tools: consider adding a public function to find Windows SDK tools #1545

@lambdageek

Description

@lambdageek

I would like to be able to find the Windows resource compiler rc.exe which is in the Windows SDK bin dir, not in the MSVC tools bin dir.

Currently, I'm doing a hack https://github.com/rust-lang/rust/pull/146018/files#diff-8a40df8ee7be3d238589677ae282637037040cceca3dc167c3e234db981245cfR137 - using find_tool and then looking at the PATH to get the ucrt bin directory. It would be nicer if get_ucrt_dir was public.

Context: rust-lang/rust#146018

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsWindows targets and toolchains

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions