-
Couldn't load subscription status.
- Fork 1.1k
Migrate to Rust 1.65 #3184
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
Migrate to Rust 1.65 #3184
Conversation
|
Mmmm, looks like CI is failing because the |
Codecov Report
@@ Coverage Diff @@
## master #3184 +/- ##
=======================================
Coverage 64.73% 64.74%
=======================================
Files 81 81
Lines 38747 38748 +1
=======================================
+ Hits 25084 25088 +4
+ Misses 13663 13660 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
clippy lints|
Per conversation in Matrix with @cwfitzgerald, I've pushed d1682f9 (upgrading to Rust 1.65) and renamed this PR. Will autosquash momentarily, after CI turns green. |
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.
Small comment on one thing
c3e183c to
e60b125
Compare
342b36e to
d68428b
Compare
Checklist
cargo clippy.RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknownif applicable.Add change to CHANGELOG.md. See simple instructions inside file.Opting not to do this, unless somebody thinks it's actually interesting for downstream.Connections
Link to the issues addressed by this PR, or dependent PRs in other repositories
None that I know of.
Description
Describe what problem this is solving, and how it's solved.
The Rust 1.65 toolchain has introduced several new lint warnings for this repository. Keep it clean by taking the most straightforward path for resolving lints. The only change that I think is controversial is the final change to appease
clippy::result_large_err, which adds a.clippy.tomlto set the lint threshold to right about our current largest case.Recommended review experience: commit-by-commit.
Testing
Explain how this change is tested.
It still compiles, so we should be good to go!