]> git.lizzy.rs Git - rust.git/blobdiff - .cargo/config
Respect attributes in Hygiene token up-mapping
[rust.git] / .cargo / config
index b9db30c969e853b207621647c83042def12e1953..1447614b76363d6cd61b64c0a1678fcdd3988e64 100644 (file)
@@ -1,16 +1,9 @@
 [alias]
-# Automatically generates the ast and syntax kinds files
-gen-syntax   = "run --package tools --bin tools -- gen-syntax"
-# Extracts the tests from 
-gen-tests    = "run --package tools --bin tools -- gen-tests"
-# Installs the visual studio code extension
-install-code = "run --package tools --bin tools -- install-code"
-# Formats the full repository or installs the git hook to do it automatically.
-format       = "run --package tools --bin tools -- format"
-format-hook  = "run --package tools --bin tools -- format-hook"
-# Runs the fuzzing test suite (currently only parser)
-fuzz-tests   = "run --package tools --bin tools -- fuzz-tests"
+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"
 
-render-test  = "run --package ra_cli -- render-test"
-# Parse a file. This should be piped the file contents
-parse        = "run --package ra_cli -- parse"
+[target.x86_64-pc-windows-msvc]
+linker = "rust-lld"