cargo build
fails for python bindings when --locked
is passed for v0.15.1
and v0.15.2
#1477
Labels
cargo build
fails for python bindings when --locked
is passed for v0.15.1
and v0.15.2
#1477
I noticed that at least the git tags listed in the title forgot to update
Cargo.lock
in addition toCargo.toml
. This discrepancy causescargo build --locked
to fail with an error like this:Passing
--locked
is required for e.g. certain distro packaging methodologies. Also, it means that runningcargo build
without--locked
will work but leave your git tree dirty, which is kinda weird.Obviously this isn't really retroactively fixable, but hopefully this can be avoided in future releases. Maybe a check for this can be added in CI?
The text was updated successfully, but these errors were encountered: