summaryrefslogtreecommitdiffstats
path: root/src/tools/rust-analyzer/.cargo/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rust-analyzer/.cargo/config.toml')
-rw-r--r--src/tools/rust-analyzer/.cargo/config.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/.cargo/config.toml b/src/tools/rust-analyzer/.cargo/config.toml
new file mode 100644
index 000000000..24745d1c8
--- /dev/null
+++ b/src/tools/rust-analyzer/.cargo/config.toml
@@ -0,0 +1,11 @@
+[alias]
+xtask = "run --package xtask --bin xtask --"
+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"
+
+[env]
+CARGO_WORKSPACE_DIR = { value = "", relative = true } \ No newline at end of file