mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 17:28:09 +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.
9 lines
386 B
Text
9 lines
386 B
Text
[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"
|