Skip to content

All dependencies recompiled if there is an error during "cargo install <crate>" #4890

@vezaynk

Description

@vezaynk

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, run cargo install letsencrypt-rs, after a certain dependency it will fail and make you restart all over again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Error and warning messages generated by Cargo itself.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-installE-easyExperience: EasyS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions