Switch networking crates and core to Rust 2024 edition#10004
Closed
kskalski wants to merge 4 commits intoanza-xyz:masterfrom
Closed
Switch networking crates and core to Rust 2024 edition#10004kskalski wants to merge 4 commits intoanza-xyz:masterfrom
kskalski wants to merge 4 commits intoanza-xyz:masterfrom
Conversation
f71be88 to
65408f4
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #10004 +/- ##
========================================
Coverage 82.5% 82.6%
========================================
Files 844 844
Lines 316758 316891 +133
========================================
+ Hits 261579 261783 +204
+ Misses 55179 55108 -71 🚀 New features to boost your workflow:
|
|
Is the entire diff auto-generated? |
Author
|
65408f4 to
024ee9f
Compare
|
Generally lgtm, but I would consider breaking it up a bit if at all possible to reduce probability of conflicts. |
Author
|
Ok, removing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Rust 2024 migration is now possible for monorepo. Most of the code do not have any semantic changes and is only affected by formatting style switch, some exceptions do exist, mostly in order of drops, which should be reviewed, e.g. w.r.t. possible locking behavior change.
The semantic changes (caused by if-let-rescope, tail-expr-drop-order, edition-2024-expr-fragment-specifier) can be detected running
cargo fix --editionand in case of this PR they generate a few cases as attached belowyields
networking_expr_fragment.txt
networking_if_let_rescope.txt
networking_tail_expr.txt
Summary of Changes
Note: styling change could also be decoupled from switching edition, ideally format change should be done shortly before next release cut (to minimize conflicts on any potential back-ports)