Closed
Description
Originally discussed here.
Running cargo clippy
when the project's toolchain has been overridden to a linked rustup toolchain doesn't work.
$ cargo clippy
error: 'cargo-clippy' is not installed for the toolchain 'yk-stage1'
To install, run `rustup component add clippy --toolchain yk-stage1`
$ rustup toolchain list -v
nightly-x86_64-unknown-linux-gnu (default) /home/vext01/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu
yk-stage1 (override) /home/vext01/research/yorick/ykrustc/build/x86_64-unknown-linux-gnu/stage1
But running the tool manually with a library path set does work:
LD_LIBRARY_PATH=/home/vext01/research/yorick/ykrustc/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib \
/home/vext01/research/yorick/ykrustc/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/cargo-clippy
Metadata
Metadata
Assignees
Labels
No labels