Skip to content

add rust-toolchain.toml #953

Closed
Closed
@TheAlgorythm

Description

@TheAlgorythm

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    • kbuildRelated to building the kernel, `make`, `Kbuild`, `Kconfig` options...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions