Running cargo clippy
in Makefile tries to install cargo-clippy
crate
#1077
Replies: 1 comment 2 replies
-
My GitHub workflow was previously using cargo-make 0.37.2; I have now updated to cargo-make 0.37.11 and that seems to have solved it1. Was there a change in cargo-make in the latest versions which has fixed this? Or is my Makefile or setup still faulty, and it just happens to work now for whatever reason. Footnotes
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a repository with
rust-toolchain.toml
file and upgraded to the toolchain 1.78.0. The problem is that builds with my cargo-make Makefile fail on CI now:(GitHub actions log)
For whatever reason it does not use the official
cargo clippy
but tries to install a crate calledcargo-clippy
. Do you have any idea what is causing this? Or whether cargo-make orcargo
is performing this incorrectcargo install
?Sorry if the error is completely obvious, or I am misunderstanding cargo-make or cargo behavior.
I thought if I adjust
rust-toolchain.toml
and then run anycargo
command it would automatically download the needed toolchain and components, and so far it seems that worked fine for me in the past for other toolchain versions. And also for 1.78.0 it looks like it worked locally for me without any issues (but maybe I had executed anothercargo
command before runningcargo make
).rust-toolchain.toml
works or how cargo-make interacts with it?Makefile.toml
syntax, or is myMakefile.toml
error-prone or ambiguous?Beta Was this translation helpful? Give feedback.
All reactions