-
Notifications
You must be signed in to change notification settings - Fork 330
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
Upgrades rust stable toolchain to 1.80.0 #2386
Conversation
There's a lot of new warnings, but the overwhelming majority are these two, which are both about unexpected
and
These lints will need to be resolved before upgrading will succeed. Here's the full log when running the new clippy: |
@yihau FYI |
To fix the "unexpected cfgs" lint: Add this to the workspace Cargo.toml file: [workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("solana"))', 'cfg(RUSTC_WITH_SPECIALIZATION)'] } And add this to all the package Cargo.toml files: [lints]
workspace = true References: |
uploaded the docker image but got the cfg warning in this PR. iirc our py script will complain about this new lint field |
Yep yep. Can your team pick up this PR to get the rust version upgraded? There are other lints to fix as well. Lots were related to docs formatting. Maybe there are others that actually touch code too. |
okay. I think I will take over this one! |
Rust 1.80.0 has been released.
https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html