-
Notifications
You must be signed in to change notification settings - Fork 108
Rust 1.73 #2124
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
Rust 1.73 #2124
Conversation
I based this one on top of #2068 (i.e. the previous upgrade). |
@aliceinwire I think we need to first have 1.72.1 tested and merged, then this one rebased and tested before it gets merged so it probably won't be ready until next week. It's good to approve changes in they look OK in principle but in this case it's not sufficient to have the PR merged. |
you are talking about this PR #2068 |
why this PR #2068 as the label |
Maybe ask on the actual PR #2068 :) Also, like I wrote in a previous comment I'm planning to go through this and have it merged today if there's no blockers. It's good to have another pair of eyes (we never have too many reviewers!) but I also don't want us to be doing the same work twice. |
ok |
Temporary setting staging-skip, cause it is breaking staging:
|
Does it mean the other repository ( Or is it something that is manually done on your side when you go to merge this one? Thanks! |
Ah, I just saw #2068 (comment). I guess Guillaume is talking about the errors from ~summer, rather than just the (trivial) update of the key. In any case, I am happy to open PRs to both repositories and link them when I send these updates. |
Yeah please just leave that with me for 1.72.1 and if something needs to be done again for 1.73 and all future version updates I can put a comment here and maybe you can take care of it yourself? |
Yeah, sounds good -- thanks a lot! |
@ojeda Please rebase again now that #2068 has been merged. Then here's a checklist for upgrading the
rustc-1.73:
cc: clang
cc_version: 16
arch_params:
x86_64: *x86_64_params
This checklist assumes there's only one |
Pseudo-documentation for updating the patch series used on staging:
Then push the branch to your GitHub fork and create a PR as usual. |
And yes we know about The last part after the rebase could easily be scripted I think, and the rest is kind of expected to be done by hand anyway. Maybe a first scripted procedure could get to the point of doing the interactive rebase, then manual editing, then automated patch updates. That's an improvement someone could work on I guess. In fact there might already be a GitHub issue about it somewhere. |
Rust 1.73.0 will likely be the next version supported by the kernel [1]. Therefore, add it as a new build environment. In addition, use Clang 17 instead of 16 too, since it is the latest and matches the internal LLVM version used by Rust 1.73.0. Link: https://lore.kernel.org/rust-for-linux/[email protected]/ [1] Signed-off-by: Miguel Ojeda <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Rebased, thanks a ton for all that work (and the nicely explained instructions too -- I can try to follow them for Rust 1.74 and see how it goes).
That is right, and indeed, when that point comes, testing minimum and maximum supported versions would be ideal. Regarding timing, It is hard to predict, since it depends on many factors (e.g. ongoing discussion with the Rust project) plus a few major distributions told us they are OK supporting a fixed version, which relaxed the pressure a bit and in turn allows us to reconsider features. So I would say at least a year (e.g. we may discuss it in LPC and, say, decide to try to achieve it for the next-next LTS). |
Thanks for the update, sounds good. About 1.73, please note that the checklist isn't quite complete yet :) The 1.72 changes only just landed so it's not regular timing, but if you want to give it a go and add the missing bits that would be great. Otherwise let us know and we'll take care of it for 1.73, then let you try 1.74. |
Done! Please see kernelci/kernelci-deploy#103 and kernelci/kernelci-deploy#104. |
Sorry I created a Docker Hub repository called |
Rustc 1.73 available: https://staging.kernelci.org/build/id/65338f1f999c80c415043852/ |
Rust 1.73.0 will likely be the next version supported by the kernel [1].
Therefore, add it as a new build environment.
In addition, use Clang 17 instead of 16 too, since it is the latest and matches the internal LLVM version used by Rust 1.73.0.
Link: https://lore.kernel.org/rust-for-linux/[email protected]/ [1]