diff options
author | Nathan Chancellor <nathan@kernel.org> | 2024-05-17 19:06:15 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-07-08 22:39:29 +0200 |
commit | 526c539452cec6e7e65776d5807e6c66dd65d636 (patch) | |
tree | 27242000acf2d0f425e7dfacc3c0eb33fe219727 /Documentation | |
parent | rust: add 'firmware' field support to module! macro (diff) | |
download | linux-526c539452cec6e7e65776d5807e6c66dd65d636.tar.xz linux-526c539452cec6e7e65776d5807e6c66dd65d636.zip |
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 <nathan@kernel.org>
Link: https://lore.kernel.org/r/20240517170615.377786-1-ojeda@kernel.org
Co-developed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/rust/quick-start.rst | 7 |
1 files changed, 7 insertions, 0 deletions
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:: |