-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add rust-toolchain.toml
#953
Comments
The directory override will take priority over that file, so users giving an override (in the root folder) would still be able to use their own toolchain, right? e.g. @nbdd0121 often uses a newer toolchain, IIRC. |
Indeed. |
Thanks @bjorn3! I wanted to make sure I read the docs correctly. In that case, I think we can do this. Would you like to submit the patch @TheAlgorythm or do you prefer somebody else does it (with e.g. a If you want to send it yourself, please see https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin for details (the kernel requires using the real name and signing your work under the DCO). I will mark this as a good first issue too. |
I wanted to do this earlier, but then it feels ugly having to name it |
Ah, yeah, if it does not allow to be hidden, that is indeed quite painful. Then we should request that to |
Done! rust-lang/rustup#3182 |
I can do that, but probably we should wait for |
For reference, @aliceinwire sent a PR about this before you answered but after I asked you #954. Maybe you could please talk to each other about how to handle this when the time comes to send it upstream :) |
Ah ok. I haven't seen the PR before. I'm fine with it :) |
I've created a PR at rustup. But is this the normal procedure? |
Thanks! Referenced it at #396.
What do you mean? |
Is there a RFC or something else needed? Or is it enough when the maintainers like it. |
https://github.com/rust-lang/rustup/blob/master/CONTRIBUTING.md does not seem to refer to it, though I do see a couple mentions of "RFCs" for rustup from a quick search. I guess they will let you know in the PR if that is the case. |
The Rust version is not pinned anymore, so I think at this point we don't need this, right? |
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:An equivalent
rust-toolchain.toml
should be: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)
The text was updated successfully, but these errors were encountered: