Description
In #3703 (comment), @djc asked:
Can one of you open a new issue discussing what the use case here is and how/why we broke it?
Dylint works similar to Clippy. It sets RUSTC_WORKSPACE_WRAPPER
to the path of a dylint-driver
binary, and then invokes cargo check
. There are several dylint-driver
binaries, each associated with a nightly toolchain. Each binary is linked against the rustc_driver
and std
libraries of its corresponding toolchain. On Windows, this means that the directories containing those libraries must be in PATH
. If PATH
does not include those directories, then the call to cargo check
fails because dylint-driver
cannot be loaded.
Here is an example: https://github.com/trailofbits/dylint/actions/runs/8977891579/job/24657422248#step:8:2321