Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update rust version to 1.68 #5439

Merged
merged 1 commit into from
Mar 30, 2023
Merged

Conversation

mhammond
Copy link
Member

Now m-c is on 1.68 I thought I'd see that the fallout is. Fixes #5435, but blocked by #5436.

Most changes mage by clippy.

@mhammond mhammond requested a review from bendk March 23, 2023 00:56
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01 ⚠️

Comparison is base (86c84c2) 45.11% compared to head (d2ccbe7) 45.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5439      +/-   ##
==========================================
- Coverage   45.11%   45.10%   -0.01%     
==========================================
  Files         172      172              
  Lines       14378    14376       -2     
==========================================
- Hits         6487     6485       -2     
  Misses       7891     7891              
Impacted Files Coverage Δ
components/nimbus/src/dbcache.rs 74.46% <ø> (ø)
components/sync15/src/device_type.rs 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@bendk bendk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, there's a lot of nice ergonomic improvements IMO. I guess we're just blocked on the NDK now.

# Probably https://github.com/rust-lang/rust/issues/97549 which is a 1.61 issue.
# We should revert this once we move past 1.61
- run: RUST_LOG=trace cargo test -j2
- run: RUST_LOG=trace cargo test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@@ -30,6 +30,7 @@ pub enum SyncedBookmarkValue<T> {
Specified(T),
}

#[allow(clippy::derivable_impls)] // 1.65 gets upset if we derive default here due to the <T>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe note that we should switch to Derive once the min-version is 1.68.

@mhammond mhammond merged commit 1b959e1 into mozilla:main Mar 30, 2023
@mhammond mhammond deleted the update-rust-168 branch March 30, 2023 23:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to Rust 1.68
3 participants