From 87958ad68314daa784e93db4462afc0c079bd3a8 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Fri, 11 Jul 2025 13:32:03 +0000 Subject: Avoid building C++ for rustc_llvm with --compile-time-deps This saves about 30s. --- compiler/rustc_codegen_llvm/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/rustc_codegen_llvm') 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"] -- cgit 1.4.1-3-g733a5