Closed Bug 1664914 Opened 4 years ago Closed 4 years ago

rustc-dist-toolchain.tar.xz is too old to build mozilla-central (contains 1.41.1)

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox80 wontfix, firefox81 wontfix, firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox80 --- wontfix
firefox81 --- wontfix
firefox82 --- fixed

People

(Reporter: mstange, Assigned: rstewart)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

mach bootstrap installs a rustc-dist-toolchain.tar.xz bundle which can be used to distribute rust compilation with sccache from macOS/Windows clients, see https://firefox-source-docs.mozilla.org/build/buildsystem/sccache-dist.html.

However, at the moment, rustc-dist-toolchain.tar.xz contains Rust 1.41.1.
Building mozilla-central currently requires at least Rust 1.43.0.

This means that all Rust compilation happens locally rather than on the sccache builders.

Please provide a rustc-dist-toolchain.tar.xz with a newer Rust version.

Component: General → Toolchains
Assignee: nobody → rstewart

Thanks for the quick fix!

Is there a way we can avoid similar problems in the future? Is there a checklist that's consulted whenever the minimum rustc version is bumped?

With this bug as well as bug 1664962, we'll be using toolchain aliases in the future (i.e., linux64-rust-cross instead of linux64-rust-cross-1.41). Since we regularly update the toolchain aliases as we update to new versions of compilers (e.g. bug 1632723), that should limit this happening again.

Oh, perfect!

Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1e8a73d71bdc
Update `rustc-dist-toolchain` to Rust 1.43 r=mhentges,glandium
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: