add rust-toolchain.toml
· Issue #953 · Rust-for-Linux/linux (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
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)