Closed Bug 2002715 Opened 5 months ago Closed 5 months ago

Upgrade rustc-dev to 1.82.0

Categories

(Firefox Build System :: Toolchains, task)

task

Tracking

(firefox147 fixed)

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

In bug 1945020, we upgraded rustc-dev to a version before 1.82.0 because our patches for -Z build-std didn't apply or work with 1.82. Subsequently, we applied patches to enable features that were stabilized in final 1.82 but weren't yet in the nightly we had picked.
This bug is to upgrade to the final 1.82.

Blocks: 2002716
Duplicate of this bug: 1915537

In bug bug 1945020, we upgraded rustc-dev to a version before 1.82.0
because our patches for -Z build-std didn't apply or work with 1.82.
Subsequently, we applied patches to enable features that were stabilized
in final 1.82 but weren't yet in the nightly we had picked.

After multiple dead-ends trying to keep our patches working similarly to
how they used to, it just dawned on me that we didn't need to try to
handle things on the cargo end anymore:

Up to rustc 1.81, cargo would use a virtual workspace for -Z build-std.
As of 1.82, it uses a real workspace with its own Cargo.toml. So instead
of having cargo programmatically handle the situation, we can... just
edit that Cargo.toml instead.

For the record, a .cargo/config.toml with the vendoring configuration
that cargo vendor outputs does not work.

Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/211f244b8ce8 https://hg.mozilla.org/integration/autoland/rev/f61316633976 Revert "Bug 2002715 - Upgrade rustc-dev to 1.82.0. r=firefox-build-system-reviewers,sergesanspaille" for causing bc failures @mod.rs.
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
Regressions: 2001260
Regressions: 2003712
No longer regressions: 2001260
No longer regressions: 2003712
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: