cargo-hack icon indicating copy to clipboard operation
cargo-hack copied to clipboard

`cargo hack` ignores my MSRV compatible `Cargo.lock`, preventing me from testing my MSRV

Open epage opened this issue 1 year ago • 4 comments

UPDATE(taiki-e):

  • The situation here has been improved, and the latest cargo-hack overwrites the existing Cargo.lock only when it is necessary to work around old cargo bugs (https://github.com/taiki-e/cargo-hack/pull/242). If you want to ensure that the existing Cargo.lock is respected in all cases, please use --locked.

While I got cargo-hack working in Cargo, it seems Cargo's dependencies align on MSRV. I tried adopting it in a project where MSRVs is misaligned with dependencies and was surprised that my curated `Cargo.lock was blown away to solve #105.

epage avatar Feb 15 '24 20:02 epage