about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-13 15:16:00 +0200
committerGitHub <noreply@github.com>2025-07-13 15:16:00 +0200
commitb4b00c7d103f17a47537524a4e39b6cdaa41f144 (patch)
tree7fa4a1609bdb04a57eb88695111011619994ff88 /compiler/rustc_codegen_llvm
parentccd6d6c04f7a06d8860301222020ab8ffd045637 (diff)
parent10bec8f7ded3ba2fec95e177122f02653d32399a (diff)
downloadrust-b4b00c7d103f17a47537524a4e39b6cdaa41f144.tar.gz
rust-b4b00c7d103f17a47537524a4e39b6cdaa41f144.zip
Rollup merge of #143785 - bjorn3:faster_ra_build_script_build, r=Kobzol
Add --compile-time-deps argument for x check

Together with skipping building C++ code in rustc_llvm for check, this reduces the amount of time it takes to do the x check for rust-analyzer analysis from 12m16s to 3m06s when the bootstrap compiler is already downloaded.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
-rw-r--r--compiler/rustc_codegen_llvm/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/Cargo.toml b/compiler/rustc_codegen_llvm/Cargo.toml
index 88efc8ac96b..5ab22f8fc4d 100644
--- a/compiler/rustc_codegen_llvm/Cargo.toml
+++ b/compiler/rustc_codegen_llvm/Cargo.toml
@@ -43,3 +43,6 @@ serde_json = "1"
 smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
 tracing = "0.1"
 # tidy-alphabetical-end
+
+[features]
+check_only = ["rustc_llvm/check_only"]