Closed Bug 1689284 Opened 5 years ago Closed 5 years ago

Default to opt-level=2 for Rust code

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

No description provided.

We used to only push to opt-level=2 on --enable-release builds, to make
local builds faster with opt-level=1. Years later, it seems opt-level=2 makes no noticeable
difference in build times vs. opt-level=1, neither on my Threadripper
workstation at -j64 or my M1 Macbook Air at -j4.

That's one less difference to carry.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/7a93da60be46 Default to opt-level=2 for Rust code. r=firefox-build-system-reviewers,sheehan,mhentges
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
See Also: → 1704580
Regressions: 1705324
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: