Skip to content

Commit 526c539

Browse files
nathanchanceojeda
authored andcommitted
docs: rust: introduce the new kernel.org LLVM+Rust toolchains
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Co-developed-by: Miguel Ojeda <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 549d3c2 commit 526c539

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/rust/quick-start.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ under names like ``rustc``, ``rust-src``, ``rust-bindgen``, etc. However,
1616
at the time of writing, they are likely not to be recent enough unless
1717
the distribution tracks the latest releases.
1818

19+
Prebuilt stable versions of LLVM+Rust are provided on `kernel.org
20+
<https://kernel.org/pub/tools/llvm/rust/>`_. These are the same slim and fast
21+
LLVM toolchains from :ref:`Getting LLVM <getting_llvm>` with versions of Rust
22+
added to them that Rust for Linux supports, depending on the Linux version. Two
23+
sets are provided: the "latest LLVM" and "matching LLVM" (please see the link
24+
for more information).
25+
1926
To easily check whether the requirements are met, the following target
2027
can be used::
2128

0 commit comments

Comments
 (0)