Closed
Description
I'm not sure if it works with this setup, but it should make the setup process easier.
The setup of Documentation/rust/quick-start.rst
includes the following commands:
rustup override set $(scripts/min-tool-version.sh rustc)
rustup component add rust-src
An equivalent rust-toolchain.toml
should be:
[toolchain]
channel = "1.66.0"
components = [ "rust-src" ]
This should setup the environment automatically and therefore reduce the steps for building the kernel.
The documentation for this can be found here
(I am not a kernel developer (yet) and therefore don't know if it works with its infrastructure)