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-toolchain.toml: bump MSRV to 1.70.0 #8877
Conversation
With Firefox 120 released on 21 November 2023, the MSRV is now 1.70.0.
I also wonder if you'd be amenable to adding the |
finally! We still want to wait till ubuntu updates but that is just a matter of time now. I don't think we should include the rust-analyzer component, RA is backwards compatible (and using new version is preferable in every case, I always use nightly) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For CI you'll want to update the old references to dtolnay/rust-toolchain@1.65
in .github/workflows/*
to use 1.70
instead
Good catch. I also notice that there's a |
Yes |
There's also a couple of TODOs in the code to simplify a couple things once MSRV is high enough, I think a couple can be tackled now |
Is that something you'd like me to handle in this PR, or do you want that to be a separate PR? |
We usually handle that in the MSRV bump PR |
OK, I think I got everything in my latest commits. (I just grepped for I didn't know what you would prefer for the checked math error handling in 44efc03, so I just used |
Looks like ubuntu has bumped to 1.70 if I'm reading their packages correctly: https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=rust-all&searchon=names |
* rust-toolchain.toml: bump MSRV to 1.70.0 With Firefox 120 released on 21 November 2023, the MSRV is now 1.70.0. * Fix cargo fmt with Rust 1.70.0 * Fix cargo clippy with Rust 1.70.0 * Fix cargo doc with Rust 1.70.0 * rust-toolchain.toml: add clippy component * .github: bump dtolnay/rust-toolchain to 1.70 * helix-term: bump rust-version to 1.70 * helix-view/gutter: use checked_ilog10 to count digits * helix-core/syntax: use MAIN_SEPARATOR_STR constant * helix-view/handlers/dap: use Display impl for displaying process spawn error * WIP: helix-term/commands: use checked math to assert ranges cannot overlap
With Firefox 120 released on 21 November 2023, the MSRV is now 1.70.0.
According to https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html (and after attempting to download Firefox myself), Firefox 120 has been released. Since helix follows Firefox's MSRV (https://github.com/helix-editor/helix/blob/47b6c4bc78d449e3586f28d26507bfc8fb8608e2/docs/CONTRIBUTING.md#minimum-stable-rust-version-msrv-policy), I bumped the MSRV to 1.70.0 in line with Firefox!
(The main thing I'm looking forward to is the sparse crates registry support added in 1.68.0.)