mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Update cargo-toml-vs-cargo-lock.md
- Improved wording ('rev' is not a line)
This commit is contained in:
parent
9ded34a558
commit
7e6c487b9c
@ -43,7 +43,8 @@ could happen. There could be more commits to `regex` in the meantime, and my
|
||||
build would include new commits while yours would not. Therefore, we would
|
||||
get different builds. This would be bad because we want reproducible builds.
|
||||
|
||||
We could fix this problem by putting a `rev` line in our `Cargo.toml`:
|
||||
We could fix this problem by defining a specific `rev` value in our `Cargo.toml`,
|
||||
so Cargo could know exactly which revision to use when building the package:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
|
Loading…
x
Reference in New Issue
Block a user