x.py clippy argument passing broken, order no loger preserved #121481
Labels
A-clippy
Area: Clippy
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
https://github.com/rust-lang/rust/blob/master/src/bootstrap/src/core/build_steps/check.rs#L66
apparently we now group the args passed to
x.py clippy
by lint level (allow, deny, etc) and then send group by group to the clippy command.This is bad because you can no longer turn on/off single lints, for example
x.py clippy -Aclippy:all -Wclippy::style -Aclippy::foo1 -Aclippy::foo2
used to only turn on style lints with the exception offoo1
andfoo2
.The order is no longer preserved
which would now become
-Aclippy::all -Aclippy::foo1 -Aclippy::foo2 -Wclippy::style
which kind of defeats the purpose of being able to setting specific lints to allow/warn.The text was updated successfully, but these errors were encountered: