Additional safety mechanism - to ensure reproducible builds.
Fixes #48.
Ensure there are no changes within Cargo.lock files during build.
Even if --locked is passed to cargo build, it's still possible that Cargo.lock files are created (think of the Cargo.lock at the workspace level). We won't allow this anymore - all Cargo.lock files must be present when starting the build (and no change during build is allowed).
Additional safety mechanism - to ensure reproducible builds.
Fixes #48.
Ensure there are no changes within Cargo.lock files during build.
Even if
--locked
is passed tocargo build
, it's still possible that Cargo.lock files are created (think of the Cargo.lock at the workspace level). We won't allow this anymore - all Cargo.lock files must be present when starting the build (and no change during build is allowed).