Closed Bug 2012141 Opened 9 months ago Closed 9 months ago

update Thunderbird Rust code to 2024 edition

Categories

(MailNews Core :: Networking: Exchange, task)

task

Tracking

(Not tracked)

RESOLVED FIXED
149 Branch

People

(Reporter: jtracey, Assigned: jtracey)

References

Details

Attachments

(2 external files)

The Firefox MSRV was bumped to 1.87.0 for Firefox 148. Our Cargo.toml files already inherit this (bug 1992464), so we don't need to fix anything, but this does unblock bumping our Rust edition to 2024. 1.87 is one version shy of if-let chain support, but there are still a bunch of other nice quality of life improvements in the 2024 edition that make bumping this worthwhile.

And Firefox MSRV has been bumped to 1.90.0 for Firefox 149 by bug 1975583.

Switches all local Rust crates to 2024 edition, and resolves all compiler
errors/warnings and clippy warnings.

Assignee: nobody → jtracey
Status: NEW → ASSIGNED
Attachment #9539906 - Attachment description: Bug 2012141 - Use 2024 edition Rust. r=#thunderbird-back-end-reviewers → Bug 2012141 - Use 2024 edition Rust. r=edicharry
Target Milestone: --- → 149 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/a89e734dc30c
Use 2024 edition Rust. r=edicharry

Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by vineet@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/8fe7e2f4aa21
follow-up, update Rust code that landed while prior patch was in flight. r=mkmelin

Status: REOPENED → RESOLVED
Closed: 9 months ago → 9 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: