Friends
I am having a separate problem persuading cargo
to do its thing and that is not my problem.
What is my problem is on each iteration when I run cargo...
after making some change all the same packages are recompiled again. The same versions, the same rust compiler.
Is there some way that I can tell cargo to reuse what it compiled twenty minutes ago and not do it all again, every time?
Specific example:
I run cargo install cargo-generate
, have a problem, some helpful recent comment on SO encourages me to run cargo install cargo-generate --locked cargo
. The following is done both times:
Compiling clap v2.33.3
Compiling tar v0.4.30
Compiling cc v1.0.59
Why? I am on a difficult part of the learning curve (been away from rust awhile... things have changed!) so I do not know what half the "magic incantations" mean.
But I cannot see why the same things need to be compiled over and over.