Commit fe92022
committed
doc: Recommend tracking Cargo.lock with rust-toolchain
.. if pinning to a specific version.
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.
Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>1 parent f887c19 commit fe92022
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
0 commit comments