Skip to content

Commit

Permalink
Track Cargo.lock in git
Browse files Browse the repository at this point in the history
To build packages deterministically, buildroot needs the Cargo.lock file
to precisely describe all dependencies. In general the cargo doc
recommends checking Cargo.lock into the repo:

https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html

Cargo.lock is automatically generated on build, and changes alongside
Cargo.toml.

Signed-off-by: Jean-Philippe Brucker <[email protected]>
  • Loading branch information
jpbrucker authored and Arnaud-de-Grandmaison-ARM committed Oct 8, 2024
1 parent b19216a commit 50d0e17
Show file tree
Hide file tree
Showing 2 changed files with 3,626 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand Down
Loading

0 comments on commit 50d0e17

Please sign in to comment.