* [PATCH V3] docs: rust: Document the rustupoverride target
@ 2023-12-18 5:52 Viresh Kumar
2023-12-18 6:47 ` Tiago Lam
0 siblings, 1 reply; 2+ messages in thread
From: Viresh Kumar @ 2023-12-18 5:52 UTC (permalink / raw)
To: Miguel Ojeda, Alex Gaynor, Wedson Almeida Filho, Boqun Feng,
Gary Guo, Björn Roy Baron, Benno Lossin, Andreas Hindborg,
Alice Ryhl, Jonathan Corbet, Nathan Chancellor, Nick Desaulniers,
Bill Wendling, Justin Stitt
Cc: Viresh Kumar, Vincent Guittot, rust-for-linux, linux-doc,
linux-kernel, llvm
Document the newly added Make target: rustupoverride.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
V2->V3:
- Remove the O= part and document rustupoverride target.
Documentation/rust/quick-start.rst | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst
index f382914f4191..c13e2e479e29 100644
--- a/Documentation/rust/quick-start.rst
+++ b/Documentation/rust/quick-start.rst
@@ -33,10 +33,9 @@ A particular version of the Rust compiler is required. Newer versions may or
may not work because, for the moment, the kernel depends on some unstable
Rust features.
-If ``rustup`` is being used, enter the checked out source code directory
-and run::
+If ``rustup`` is being used, run the following Make target::
- rustup override set $(scripts/min-tool-version.sh rustc)
+ make LLVM=1 rustupoverride
This will configure your working directory to use the correct version of
``rustc`` without affecting your default toolchain. If you are not using
--
2.31.1.272.g89b43f80a514
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH V3] docs: rust: Document the rustupoverride target
2023-12-18 5:52 [PATCH V3] docs: rust: Document the rustupoverride target Viresh Kumar
@ 2023-12-18 6:47 ` Tiago Lam
0 siblings, 0 replies; 2+ messages in thread
From: Tiago Lam @ 2023-12-18 6:47 UTC (permalink / raw)
To: Viresh Kumar, Miguel Ojeda, Alex Gaynor, Wedson Almeida Filho,
Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
Andreas Hindborg, Alice Ryhl, Jonathan Corbet, Nathan Chancellor,
Nick Desaulniers, Bill Wendling, Justin Stitt
Cc: Vincent Guittot, rust-for-linux, linux-doc, linux-kernel, llvm
On 18/12/2023 05:52, Viresh Kumar wrote:
> Document the newly added Make target: rustupoverride.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Tiago Lam <tiagolam@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-18 6:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-18 5:52 [PATCH V3] docs: rust: Document the rustupoverride target Viresh Kumar
2023-12-18 6:47 ` Tiago Lam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®