Vendored proc-macro2 doesn't compile
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr102 wontfix, firefox-esr115118+ fixed, firefox117 wontfix, firefox118 fixed, firefox119 fixed)
People
(Reporter: hsivonen, Assigned: hsivonen)
References
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-esr115+
|
Details | Review |
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.
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
bugherder |
![]() |
||
Comment 4•2 years ago
|
||
[Tracking Requested - why for this release]: Apparently this affects ESR 115 - see bug 1850693.
Comment 6•2 years ago
|
||
This patch grafts cleanly to Beta, but ESR115 is going to need a branch-specific patch from the looks of it.
Assignee | ||
Comment 7•2 years ago
|
||
Assignee | ||
Comment 8•2 years ago
•
|
||
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
Assignee | ||
Comment 9•2 years ago
|
||
(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.
Assignee | ||
Comment 10•2 years ago
|
||
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.
Comment 11•2 years ago
|
||
Comment on attachment 9350003 [details]
Bug 1849869 - Update proc-macro2 to 1.0.66.
Approved for 118.0b8, thanks.
Comment 12•2 years ago
|
||
uplift |
Comment 13•2 years ago
|
||
bugherder uplift |
Comment 14•2 years ago
|
||
Comment on attachment 9352432 [details]
Bug 1849869 - Update proc-macro2 to 1.0.66. (ESR version)
Approved for ESR 115.3, thanks.
Comment 15•2 years ago
|
||
uplift |
Comment 16•2 years ago
|
||
bugherder uplift |
Description
•