rustup icon indicating copy to clipboard operation
rustup copied to clipboard

doc: Recommend tracking Cargo.lock with rust-toolchain files

Open MoSal opened this issue 3 years ago • 0 comments

Current use-case where not doing this causes issues:

cargo new ttt
cd ttt
sed -i '/edition/s;2021;2018;' Cargo.toml
echo 'criterion = "0.3"' >> Cargo.toml
echo '1.55' > rust-toolchain
cargo check

Issue triggered by an indirect dependency requiring a newer edition than what the pinned toolchain supports.

MoSal avatar Aug 02 '22 03:08 MoSal