Support configurable clippy warn/deny rules in clippy.yml
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox152 fixed)
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
| Assignee | ||
Comment 1•3 months ago
|
||
Append $(cargo_rustc_extra_flags) at the end of all force-cargo-*-% pattern
rules so that tools like clippy can inject driver flags (e.g. -W/-D) via an
environment variable.
| Assignee | ||
Comment 2•3 months ago
|
||
Read warn and deny lists from clippy.yml and pass them as -W/-D flags
to the clippy driver. For gkrust crates, flags are passed via the
cargo_rustc_extra_flags env var. For non-gkrust crates, they are
appended directly to the cargo clippy command.
| Assignee | ||
Comment 3•3 months ago
|
||
| Assignee | ||
Comment 4•3 months ago
|
||
| Assignee | ||
Comment 5•3 months ago
|
||
Updated•3 months ago
|
https://hg.mozilla.org/mozilla-central/rev/0e1acbe483cc
https://hg.mozilla.org/mozilla-central/rev/2297bf4cf65b
https://hg.mozilla.org/mozilla-central/rev/4d2650e61290
https://hg.mozilla.org/mozilla-central/rev/85e804efdc14
https://hg.mozilla.org/mozilla-central/rev/e11c7c684f82
| Assignee | ||
Comment 8•3 months ago
|
||
not all patches landed
| Assignee | ||
Comment 9•3 months ago
|
||
sorry, wrong patch, it is fixed
Description
•