mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00

As a hack in cargo-hack, it doesn't respect lockfiles when doing MSRV testing unless `--locked` is passed in. This adds that so we make sure we don't run into problems with newer, MSRV-imcompatible dependencies come out that break our build. See - https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/gix-ref.20CI.20error/near/423319798 - https://github.com/taiki-e/cargo-hack/issues/234 - https://github.com/taiki-e/cargo-hack/pull/236