about summary refs log tree commit diff
path: root/compiler/rustc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-07-11 13:32:03 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-07-11 13:32:03 +0000
commit87958ad68314daa784e93db4462afc0c079bd3a8 (patch)
tree9c97ac2cc0930fdb4838f261b1f8c056ddf86d6b /compiler/rustc
parent3fe3edbcdeec70580471ec20b444e2c71a67c58a (diff)
downloadrust-87958ad68314daa784e93db4462afc0c079bd3a8.tar.gz
rust-87958ad68314daa784e93db4462afc0c079bd3a8.zip
Avoid building C++ for rustc_llvm with --compile-time-deps
This saves about 30s.
Diffstat (limited to 'compiler/rustc')
-rw-r--r--compiler/rustc/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc/Cargo.toml b/compiler/rustc/Cargo.toml
index f4caa3ef769..99414d6264e 100644
--- a/compiler/rustc/Cargo.toml
+++ b/compiler/rustc/Cargo.toml
@@ -27,6 +27,7 @@ features = ['unprefixed_malloc_on_supported_platforms']
 
 [features]
 # tidy-alphabetical-start
+check_only = ['rustc_driver_impl/check_only']
 jemalloc = ['dep:tikv-jemalloc-sys']
 llvm = ['rustc_driver_impl/llvm']
 max_level_info = ['rustc_driver_impl/max_level_info']