Closed Bug 2085851 Opened 24 days ago Closed 22 days ago

Use a prebuilt cargo-audit in the cargo-audit lint task

Categories

(Firefox Build System :: Task Configuration, enhancement)

enhancement

Tracking

(firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

The lint task runs cargo install cargo-audit every time, which takes about 74 seconds before a 3 second audit.

The lint task ran cargo install cargo-audit on every run, which took
about 74 seconds before an audit of about 3 seconds. A toolchain task now
builds the pinned version once, and the lint task puts it on PATH, so
the setup finds the version it wants and skips the install.

Attachment #9668095 - Attachment description: Bug 2085851 - Fetch a prebuilt cargo-audit in the lint task r?#linter-reviewers → Bug 2085851 - Use a prebuilt cargo-audit in the lint task and for local runs r?#linter-reviewers
Pushed by ahochheiden@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f28c504f6806 https://hg.mozilla.org/integration/autoland/rev/30f686d6f4bf Use a prebuilt cargo-audit in the lint task and for local runs r=linter-reviewers,marco
Status: NEW → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: