Skip to content

Commit 060b8f9

Browse files
authored
Merge pull request #3054 from MoSal/master
doc: Recommend tracking Cargo.lock with rust-toolchain files
2 parents 964753f + fe92022 commit 060b8f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/overrides.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ that uses the new TOML encoding in the `rust-toolchain` file. You need to upgrad
111111
`rustup` to 1.23.0+.
112112

113113
The `rust-toolchain.toml`/`rust-toolchain` files are suitable to check in to
114-
source control.
114+
source control. If that's done, `Cargo.lock` should probably be tracked too if
115+
the toolchain is pinned to a specific release, to avoid potential compatibility
116+
issues with dependencies.
115117

116118
### Toolchain file settings
117119

0 commit comments

Comments
 (0)