We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab2e6c2 commit 447c571Copy full SHA for 447c571
1 file changed
Documentation/rust/quick-start.rst
@@ -49,7 +49,10 @@ version later on requires re-adding the component.
49
Otherwise, if a standalone installer is used, the Rust repository may be cloned
50
into the installation folder of the toolchain::
51
52
- git clone --recurse-submodules https://github.com/rust-lang/rust $(rustc --print sysroot)/lib/rustlib/src/rust
+ git clone --recurse-submodules \
53
+ --branch $(scripts/min-tool-version.sh rustc) \
54
+ https://github.com/rust-lang/rust \
55
+ $(rustc --print sysroot)/lib/rustlib/src/rust
56
57
In this case, upgrading the Rust compiler version later on requires manually
58
updating this clone.
0 commit comments