Avoid building C++ for rustc_llvm with --compile-time-deps

This saves about 30s.
This commit is contained in:
bjorn3
2025-07-11 13:32:03 +00:00
parent 3fe3edbcde
commit 87958ad683
7 changed files with 17 additions and 0 deletions

View File

@@ -14,3 +14,7 @@ libc = "0.2.73"
# pinned `cc` in `rustc_codegen_ssa` if you update `cc` here.
cc = "=1.2.16"
# tidy-alphabetical-end
[features]
# Used by ./x.py check --compile-time-deps to skip building C++ code
check_only = []