Skip to content

Commit a099b65

Browse files
committed
doc: rust: use min-tool-version instead of hardcoding the version
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 246b7b0 commit a099b65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/rust/quick-start.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Rust features.
2626
If ``rustup`` is being used, enter the checked out source code directory
2727
and run::
2828

29-
rustup override set 1.58.0
29+
rustup override set $(scripts/min-tool-version.sh rustc)
3030

3131
Otherwise, fetch a standalone installer or install ``rustup`` from:
3232

@@ -79,7 +79,7 @@ the ``bindgen`` tool. A particular version is required.
7979

8080
Install it via (note that this will download and build the tool from source)::
8181

82-
cargo install --locked --version 0.56.0 bindgen
82+
cargo install --locked --version $(scripts/min-tool-version.sh bindgen) bindgen
8383

8484

8585
Requirements: Developing

0 commit comments

Comments
 (0)