Closed
Bug 1421097
Opened 7 years ago
Closed 7 years ago
Require Rust 1.22
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: rillian, Assigned: rillian)
References
Details
Attachments
(1 file)
We can start requiring Rust 1.22 to build Firefox 59 starting 2017 December 7.
Comment 2•7 years ago
|
||
We'll need Rust 1.22 for the webrender update which contains servo/webrender#2128. No pressure or anything but we would really like to get that in before the all-hands :)
The specific problem is that 1.21 fails to properly handle [patch] replacements where we replace a crates.io crate with one from a git repo. Try push showing the failures is at https://treeherder.mozilla.org/#/jobs?repo=try&revision=564675d02666501b448090a8c9076f24edf3f94c
Blocks: 1423203
Comment 3•7 years ago
|
||
My code in bug 1423840 currently relies on Option<> working with '?', which was added in 1.22. I could modify it to not use that feature without much difficulty, but it would be nice if I didn't have to :)
Blocks: 1423840
Comment 4•7 years ago
|
||
FWIW, https://treeherder.mozilla.org/#/jobs?repo=try&revision=0705f935b4c92a819400c62e69a84ead93be8b85 is a try push that contains code using 1.22 features. It's failing to build on Windows and Linux "Bb" jobs.
Assignee | ||
Comment 5•7 years ago
|
||
This bug is currently blocked, so we're going to miss the scheduled bump date.
We're waiting on a rust 1.23.0-beta.2 release after rust-lang/rust#46516 lands, which I expect to fix hsivonen/encoding_rs#26. Hopefully that will be soon, but not before the All Hands. If things are on fire, I can do a custom build, but I'd prefer to wait for the upstream release.
The "Bb" or "baseline toolchain" builds are in fact there to block code that depends on 1.22 features until this bug can land.
Comment 6•7 years ago
|
||
> The "Bb" or "baseline toolchain" builds are in fact there to block code that
> depends on 1.22 features until this bug can land.
In that case, they are working well! :)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8935644 [details]
Bug 1421097 - Require at least Rust 1.22.1.
https://reviewboard.mozilla.org/r/206538/#review212494
Attachment #8935644 -
Flags: review+
Updated•7 years ago
|
Attachment #8935644 -
Flags: review?(core-build-config-reviews)
Comment 10•7 years ago
|
||
Pushed by rgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/27fdcafdb961
Require at least Rust 1.22.1. r=ted
Comment 11•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Comment 12•7 years ago
|
||
This didn't update "mach bootstrap", so not mach bootstrap claims rust is new enough but the actual build fails...
Flags: needinfo?(giles)
Comment 14•7 years ago
|
||
I reported bug 1424489 to avoid this situation from happening in the future.
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•