cargo new
generates gitignore file that ignores non-root Cargo.lock
s, causing errors with cargo vendor
#10370
Labels
C-bug
Category: bug
The default gigignore template generates a line with
Cargo.lock
rather than/Cargo.lock
, causing necessaryCargo.lock
s in non-root directories to be ignored.This becomes an issue if one uses
cargo vendor
to vendor deps - as the gitignore file ignores the dependencies'Cargo.lock
s, which one is required to have to build without error.The text was updated successfully, but these errors were encountered: