Closed
Bug 1366542
Opened 7 years ago
Closed 7 years ago
Bump requirement of Rust version to what we use on builders
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox55 fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: xidorn, Assigned: xidorn)
Details
Attachments
(1 file)
We are continuously introducing code which may break old version of Rust, and we don't really care about old versions as far as I'm aware. But it could cause annoyance when people try to build with old version while mach doesn't upgrade Rust for them.
Some code I checked in several days ago start requiring 1.17.0, while there are people still using older versions and hit build failure.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
I think we really should bump the check every time we bump the version CI uses.
I've seen several people got confused when they checkout mozilla-central and find it doesn't build locally...
Comment 3•7 years ago
|
||
Corrolary: we shouldn't bump the version CI uses unless some new feature is needed.
Assignee | ||
Comment 4•7 years ago
|
||
That works as well. Anyway, having CI use different version than what build system requires is not helpful.
Comment 5•7 years ago
|
||
Given the rate of churn in Rust, my opinion is that we should require the version of Rust that is the lowest of what we run in CI. This means we can deploy a one-off build testing an old version of Rust if we wish to keep supporting it. For capacity reasons, we'd want to limit that to a build variation - without tests. I'm not sure if that is valuable without tests. So this may revert to "require whatever CI uses." I also agree with glandium that we shouldn't bump to a new version until there is a compelling reason. In reality, the bar for "compelling" is probably quite low, as I consider developer ergonomics a very compelling reason!
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8869791 [details]
Bug 1366542 - Bump required version of Rust to 1.17.0.
https://reviewboard.mozilla.org/r/141346/#review145228
Attachment #8869791 -
Flags: review?(mshal) → review+
Pushed by xquan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f4d2f782dcda
Bump required version of Rust to 1.17.0. r=mshal
Comment 8•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → xidorn+moz
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
•