Skip to content

What is the purpose of running cargo check in buildDepsOnly? #86

Answered by ipetkov
dpc asked this question in Q&A

You must be logged in to vote

buildDepsOnly runs cargo check so that it can cache all the dependency artifacts needed to run cargo clippy (or cargo check) on the crate itself without having to repeat that work each time.

This includes building and linking proc-macros among other metadata used for type checking

Replies: 2 comments 2 replies

You must be logged in to vote
1 reply
@ipetkov

You must be logged in to vote
1 reply
@dpc

Answer selected by dpc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants