Closed Bug 1849869 Opened 2 years ago Closed 2 years ago

Vendored proc-macro2 doesn't compile

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr102 wontfix, firefox-esr115118+ fixed, firefox117 wontfix, firefox118 fixed, firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox-esr115 118+ fixed
firefox117 --- wontfix
firefox118 --- fixed
firefox119 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

Attachments

(2 files)

The vendored version of proc-macro2 no longer compiles with the current Rust release (1.71.1). Update to the latest from crates.io to get a version that compiles.

Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7ef66afbcd94 Update proc-macro2 to 1.0.66. r=supply-chain-reviewers,glandium
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

[Tracking Requested - why for this release]: Apparently this affects ESR 115 - see bug 1850693.

Duplicate of this bug: 1850693

This patch grafts cleanly to Beta, but ESR115 is going to need a branch-specific patch from the looks of it.

Comment on attachment 9350003 [details]
Bug 1849869 - Update proc-macro2 to 1.0.66.

Beta/Release Uplift Approval Request

  • User impact if declined: No end user impact in the usual sense. The impact is on what rustc versions can be used to compile Firefox 118.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • 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): The alternative is not to take this and not to accommodate a rustc update for compiling Firefox 118.
  • String changes made/needed: None
  • Is Android affected?: Yes
Flags: needinfo?(hsivonen)
Attachment #9350003 - Flags: approval-mozilla-beta?

(In reply to Ryan VanderMeulen [:RyanVM] from comment #6)

This patch grafts cleanly to Beta,

Requested uplift as implied by this observation.

but ESR115 is going to need a branch-specific patch from the looks of it.

I posted a different changeset for ESR that I made using the same mechanical update procedure (specifically cargo update -p proc-macro2 --precise "1.0.66"). Sorry about the delay.

Comment on attachment 9352432 [details]
Bug 1849869 - Update proc-macro2 to 1.0.66. (ESR version)

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Allows ESR to be compiled with newer rustc.
  • User impact if declined: No direct end user impact in the usual sense from this patch alone.
  • Fix Landed on Version: 119
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The patch contains relatively constrained compiler compatibility tweaks directly from the crates.io release of the vendored crate.
Attachment #9352432 - Flags: approval-mozilla-esr115?

Comment on attachment 9350003 [details]
Bug 1849869 - Update proc-macro2 to 1.0.66.

Approved for 118.0b8, thanks.

Attachment #9350003 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9352432 [details]
Bug 1849869 - Update proc-macro2 to 1.0.66. (ESR version)

Approved for ESR 115.3, thanks.

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

Attachment

General

Created:
Updated:
Size: