* [PATCH] docs: rust: introduce the new kernel.org LLVM+Rust toolchains
@ 2024-05-17 17:06 Miguel Ojeda
2024-07-09 7:33 ` Miguel Ojeda
0 siblings, 1 reply; 2+ messages in thread
From: Miguel Ojeda @ 2024-05-17 17:06 UTC (permalink / raw)
To: Nathan Chancellor, Miguel Ojeda, Wedson Almeida Filho,
Alex Gaynor
Cc: Nick Desaulniers, Bill Wendling, Justin Stitt, Boqun Feng,
Gary Guo, Björn Roy Baron, Benno Lossin, Andreas Hindborg,
Alice Ryhl, llvm, rust-for-linux, linux-kernel, patches,
Jonathan Corbet, linux-doc
From: Nathan Chancellor <nathan@kernel.org>
These combined LLVM+Rust toolchains are now available, thanks to Nathan
Chancellor (ClangBuiltLinux).
Thus introduce them in the Rust Quick Start guide.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Co-developed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
---
Documentation/rust/quick-start.rst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst
index cc3f11e0d441..6fe69a601134 100644
--- a/Documentation/rust/quick-start.rst
+++ b/Documentation/rust/quick-start.rst
@@ -16,6 +16,13 @@ under names like ``rustc``, ``rust-src``, ``rust-bindgen``, etc. However,
at the time of writing, they are likely not to be recent enough unless
the distribution tracks the latest releases.
+Prebuilt stable versions of LLVM+Rust are provided on `kernel.org
+<https://kernel.org/pub/tools/llvm/rust/>`_. These are the same slim and fast
+LLVM toolchains from :ref:`Getting LLVM <getting_llvm>` with versions of Rust
+added to them that Rust for Linux supports, depending on the Linux version. Two
+sets are provided: the "latest LLVM" and "matching LLVM" (please see the link
+for more information).
+
To easily check whether the requirements are met, the following target
can be used::
base-commit: 97ab3e8eec0ce79d9e265e6c9e4c480492180409
--
2.45.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] docs: rust: introduce the new kernel.org LLVM+Rust toolchains
2024-05-17 17:06 [PATCH] docs: rust: introduce the new kernel.org LLVM+Rust toolchains Miguel Ojeda
@ 2024-07-09 7:33 ` Miguel Ojeda
0 siblings, 0 replies; 2+ messages in thread
From: Miguel Ojeda @ 2024-07-09 7:33 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Nathan Chancellor, Wedson Almeida Filho, Alex Gaynor,
Nick Desaulniers, Bill Wendling, Justin Stitt, Boqun Feng,
Gary Guo, Björn Roy Baron, Benno Lossin, Andreas Hindborg,
Alice Ryhl, llvm, rust-for-linux, linux-kernel, patches,
Jonathan Corbet, linux-doc
On Fri, May 17, 2024 at 7:06 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> From: Nathan Chancellor <nathan@kernel.org>
>
> These combined LLVM+Rust toolchains are now available, thanks to Nathan
> Chancellor (ClangBuiltLinux).
>
> Thus introduce them in the Rust Quick Start guide.
>
> Signed-off-by: Nathan Chancellor <nathan@kernel.org>
> Co-developed-by: Miguel Ojeda <ojeda@kernel.org>
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Applied to `rust-next` -- thanks!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-09 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17 17:06 [PATCH] docs: rust: introduce the new kernel.org LLVM+Rust toolchains Miguel Ojeda
2024-07-09 7:33 ` Miguel Ojeda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).