about summary refs log tree commit diff
path: root/src/etc/rust_analyzer_zed.json
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-07-11 12:23:56 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-07-11 12:34:17 +0000
commit3fe3edbcdeec70580471ec20b444e2c71a67c58a (patch)
treeedc04a8cc7f0b932217585b3659ac4ac76fb189c /src/etc/rust_analyzer_zed.json
parent855e0fe46e68d94e9f6147531b75ac2d488c548e (diff)
Add --compile-time-deps argument for x check
This reduces the amount of time it takes to do the x check for
rust-analyzer analysis from 12m16s to 3m34s when the bootstrap compiler
is already downloaded.
Diffstat (limited to 'src/etc/rust_analyzer_zed.json')
-rw-r--r--src/etc/rust_analyzer_zed.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/rust_analyzer_zed.json b/src/etc/rust_analyzer_zed.json
index 27fc524e9b5..7eace92500e 100644
--- a/src/etc/rust_analyzer_zed.json
+++ b/src/etc/rust_analyzer_zed.json
@@ -7,7 +7,7 @@
             "enable": true,
             "invocationLocation": "root",
             "invocationStrategy": "once",
-            "overrideCommand": ["python3", "x.py", "check", "--json-output"]
+            "overrideCommand": ["python3", "x.py", "check", "--json-output", "--compile-time-deps"]
           },
           "extraEnv": {
             "RUSTC_BOOTSTRAP": "1"