Skip to content

Commit

Permalink
build: Remove [root] section from top-level Cargo.lock file.
Browse files Browse the repository at this point in the history
Newer versions of cargo recently removed the ability to understand the
`[root]` section of Cargo.lock files, which is particularly relevant when
either `cargo --frozen` and/or `cargo --locked` are specified, and the
failure/inability to download a new index will cause the whole build to fail
with "error: the lock file needs to be updated but --frozen was passed to
prevent this" (cf. rust-lang/cargo#4563).

 * REMOVE `[root]` section from our top-level `Cargo.lock` file.
 * FIXES #24608: https://bugs.torproject.org/24608
  • Loading branch information
isislovecruft committed Dec 13, 2017
1 parent 426110d commit 117df68
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 117df68

Please sign in to comment.