aboutsummaryrefslogtreecommitdiff
path: root/.cargo/config
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-03-14 13:10:06 +0000
committerGitHub <[email protected]>2021-03-14 13:10:06 +0000
commit0c2f570151749d14e351f30fa234693b36bc4e72 (patch)
tree717c195e1ea7894c25d62cdab0b6c4526585eba1 /.cargo/config
parenta8a7fa834726eb763fe872b02db821f99098a498 (diff)
parent5008e5682159965c6f3b174aed3523c0b5e2fc08 (diff)
Merge #8012
8012: xtask: replace "lint" command by a simply cargo alias r=matklad a=matthiaskrgr 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. :sweat_smile: Co-authored-by: Matthias Krüger <[email protected]>
Diffstat (limited to '.cargo/config')
-rw-r--r--.cargo/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/.cargo/config b/.cargo/config
index f6b0b66bf..1447614b7 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -3,6 +3,7 @@ xtask = "run --package xtask --bin xtask --"
3install-ra = "run --package xtask --bin xtask -- install" # for backwards compat 3install-ra = "run --package xtask --bin xtask -- install" # for backwards compat
4tq = "test -- -q" 4tq = "test -- -q"
5qt = "tq" 5qt = "tq"
6lint = "clippy --all-targets -- -Aclippy::collapsible_if -Aclippy::needless_pass_by_value -Aclippy::nonminimal_bool -Aclippy::redundant_pattern_matching --cap-lints warn"
6 7
7[target.x86_64-pc-windows-msvc] 8[target.x86_64-pc-windows-msvc]
8linker = "rust-lld" 9linker = "rust-lld"