Skip to content

rename clang-installer crate #334

Description

@2bndy5

I think I need to have to rename the crate from clang-installer to clang-tools-manager. Apparently, Windows has a legacy protection feature that prevents running any executable with the word "install" or "setup" in the name. I don't know why it works in CI, but it is super annoying.

Running any tests on Windows results in an error like this:

error: test failed, to rerun pass `-p clang-installer --lib`

Caused by:
  could not execute process `path/to\cpp-linter-rs\target\debug\deps\clang_installer-bfa2c0e32f7d9e3e.exe downloader::static_dist::tests::find_none --exact --nocapture --include-ignored` (never executed)

Caused by:
  The requested operation requires elevation. (os error 740)

Originally posted by @2bndy5 in #331 and modified to include the related responses

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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