Closed
Description
If I had cargo had built repos before Cargo.lock was introduced, then it fails to update them.
$ cargo build -u
The -u flag has been deprecated, please use the `cargo update` command instead
$ cargo update
A Cargo.lock must exist before it is updated
And of course cargo build
fails because the packages are outdated.
This is fixed by deleting ~/.cargo
. To say nothing about the inappropriate location of this folder, which should be ~/.cache/cargo
, as #148 recommends.
PistonDevelopers/hematite#54 and PistonDevelopers/sdl2_window#23 are related.
Metadata
Metadata
Assignees
Labels
No labels