Skip to content

Commit

Permalink
docs: rust: introduce the new kernel.org LLVM+Rust toolchains
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nathanchance authored and ojeda committed Jul 8, 2024
1 parent 549d3c2 commit 526c539
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/rust/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down

0 comments on commit 526c539

Please sign in to comment.