about summary refs log tree commit diff
path: root/src/etc/rust_analyzer_settings.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_settings.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_settings.json')
-rw-r--r--src/etc/rust_analyzer_settings.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/rust_analyzer_settings.json b/src/etc/rust_analyzer_settings.json
index a960cc01732..b31169857c5 100644
--- a/src/etc/rust_analyzer_settings.json
+++ b/src/etc/rust_analyzer_settings.json
@@ -27,7 +27,8 @@
         "python3",
         "x.py",
         "check",
-        "--json-output"
+        "--json-output",
+        "--compile-time-deps"
     ],
     "rust-analyzer.cargo.sysrootSrc": "./library",
     "rust-analyzer.rustc.source": "./Cargo.toml",