Skip to content

Regression in 1.1.32 in cc::windows_registry::find_tool #1281

@slonopotamus

Description

@slonopotamus

Way to reproduce

  1. Windows
  2. Installed Visual Studio 2022 with C++ workload
  3. Attempt to find path to compiler executable using let tool = cc::windows_registry::find_tool("x86_64-msvc", "cl.exe").unwrap();

cc-1.1.31 and older work.
cc-1.1.32 and newer panic because find_tool returns None.

Can both repro on my own machine and on GitHub Actions.

Maybe I am using find_tool the wrong way and need to pass different arguments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions