All dependencies recompiled if there is an error during "cargo install <crate>" #4890
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-install
E-easy
Experience: Easy
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
I am running
cargo install letsencrypt-rs
and every time there is an issue with a dependency (Needed to install make, etc), the process was killed and when I tried again it would recompile every single one of the dependencies.This is bad because the compiled dependencies should be instead reused as it takes a ton of time, much more so when there is seemingly a hundred dependencies.
There's probably a more minimal way to reproduce it but one way is to take a system without
make
, runcargo install letsencrypt-rs
, after a certain dependency it will fail and make you restart all over again.The text was updated successfully, but these errors were encountered: