mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
5008e56821
This strips the run_clippy implementation out of xtask and replaces it by a simple "cargo lint" alias which runs clippy with the corresponding flags. Unfortunately I could not name the alias "clippy" because that would lead to infinite recursion.
10 lines
386 B
Plaintext
10 lines
386 B
Plaintext
[alias]
|
|
xtask = "run --package xtask --bin xtask --"
|
|
install-ra = "run --package xtask --bin xtask -- install" # for backwards compat
|
|
tq = "test -- -q"
|
|
qt = "tq"
|
|
lint = "clippy --all-targets -- -Aclippy::collapsible_if -Aclippy::needless_pass_by_value -Aclippy::nonminimal_bool -Aclippy::redundant_pattern_matching --cap-lints warn"
|
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
linker = "rust-lld"
|