Closed Bug 1554115 Opened 6 years ago Closed 6 years ago

mozlint rustfmt should fail if using the old rustfmt version

Categories

(Developer Infrastructure :: Lint and Formatting, task)

task
Not set
normal

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(1 file)

With rustfmt-nightly:

$ export PATH=~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/:$PATH
$ ./mach lint -l rustfmt servo/components/derive_common  --warnings

With rustfmt:

$ export PATH=~/.cargo/bin:$PATH
$ ./mach lint -l rustfmt servo/components/derive_common  --warnings
You are probably using the old 'rustfmt' program.
Please use rustfmt-nightly (https://crates.io/crates/rustfmt-nightly)
A failure occurred in the rust linter.
✖ 1 problem (0 errors, 0 warnings, 1 failure)
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/624f89773caf mozlint rustfmt should fail if using the old rustfmt version r=ahal
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Depends on: 1554406
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: