-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-directory-sourceArea: directory sources (vendoring)Area: directory sources (vendoring)A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentationCommand-vendorE-easyExperience: EasyExperience: EasyS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review
Description
I was building Firefox, and tried to do some changes to some rust crate. Doing so made the build fail with something like
error: the listed checksum of ... has changed:
expected: ...
actual: ...
directory sources are not intended to be edited, if modifications are required then it is recommended that [replace] is used with a forked copy of the source
That's an IMO annoying feature of cargo, but this is not what this issue is about. The problem is the following: if I actually build the crate first, and then make the changes, rebuilding just goes on acting as if I had made no change, saying Fresh $crate_name.
It seems to me cargo should fail with the exact same error as if I hadn't already built.
Cc: @alexcrichton
Richard-Rogalski, ctrlcctrlv and mchernigin
Metadata
Metadata
Assignees
Labels
A-directory-sourceArea: directory sources (vendoring)Area: directory sources (vendoring)A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentationCommand-vendorE-easyExperience: EasyExperience: EasyS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review