Closed Bug 1663677 Opened 4 years ago Closed 4 years ago

fxaccounts doesn't build with rust beta/nightly

Categories

(Firefox :: Firefox Accounts, defect)

defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox-esr78 --- fixed
firefox82 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

This prevents us from building with rust beta/nightly.

This is technically a Rust regression, see
https://github.com/rust-lang/rust/issues/76480, though I think that this
should've never worked.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d73f925b6cf Fix macro hygiene usage in fxaccounts/rust-bridge. r=lina
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0bfeb9c69bfa Fix macro hygiene usage in fxaccounts/rust-bridge. r=eoger,lina
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Would this change make sense for esr78 too?

In RHEL we are not holding the rust toolchain back, so our Firefox ESR build will eventually need to work with 1.47+ too.

Comment on attachment 9174409 [details]
Bug 1663677 - Fix macro hygiene usage in fxaccounts/rust-bridge. r=eoger,lina,rfkelly

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Build fix with newer rust toolchains.
  • User impact if declined: None
  • Fix Landed on Version: 82
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Rejiggers a bit some macro code that no longer compiles because of a rust fix.
  • String or UUID changes made by this patch: none
Attachment #9174409 - Flags: approval-mozilla-esr78?

(In reply to Josh Stone from comment #6)
Seems fair :)

Comment on attachment 9174409 [details]
Bug 1663677 - Fix macro hygiene usage in fxaccounts/rust-bridge. r=eoger,lina,rfkelly

approved for 78.4

Attachment #9174409 - Flags: approval-mozilla-esr78? → approval-mozilla-esr78+

Comment on attachment 9174409 [details]
Bug 1663677 - Fix macro hygiene usage in fxaccounts/rust-bridge. r=eoger,lina,rfkelly

Beta/Release Uplift Approval Request

  • User impact if declined: None, build fix for Rust 1.47
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Just refactored the code a bit to keep it building after a rust breaking change.
  • String changes made/needed: none
Attachment #9174409 - Flags: approval-mozilla-release?

Comment on attachment 9174409 [details]
Bug 1663677 - Fix macro hygiene usage in fxaccounts/rust-bridge. r=eoger,lina,rfkelly

we're not going to touch 81 for this

Attachment #9174409 - Flags: approval-mozilla-release? → approval-mozilla-release-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: