Closed
Description
Problem
It seems to no longer be possible to get the old lock file format written anymore. Running nightly toolchains which touch the file seem to update it causing me to have to nuke it (since we support and test older toolchains too).
This mainly affects my wish to test minimal versions where -Z minimal-versions
forces it to use a newer toolchain which then blocks out testing with the older toolchain (to ensure compatibility).
Steps
cargo +1.32.0 update
cargo +nightly update -Z minimal-versions
echo "Cargo.lock no longer works with 1.32"
Possible Solution(s)
Support a flag to write out the old lock file format. It used to be auto-detecting and not upgrade, but that changed at some point.
Notes
Output of cargo version
:
cargo 1.48.0-nightly (875e01232 2020-09-08)