From 47912f7ac38bbd65f09e81d4e176d8dcff3e7556 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Fri, 23 Jan 2026 09:42:24 -0800 Subject: [PATCH] Remove unused parts of configuring a `cc_toolchain` (#6650) These can be completely skipped at this point without issue. --- bazel/cc_toolchains/clang_cc_toolchain_config.bzl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bazel/cc_toolchains/clang_cc_toolchain_config.bzl b/bazel/cc_toolchains/clang_cc_toolchain_config.bzl index da0670aa3d36..a94512614b8c 100644 --- a/bazel/cc_toolchains/clang_cc_toolchain_config.bzl +++ b/bazel/cc_toolchains/clang_cc_toolchain_config.bzl @@ -94,20 +94,11 @@ def _impl(ctx): # This configuration only supports local non-cross builds so derive # everything from the target CPU selected. toolchain_identifier = identifier, - host_system_name = identifier, - target_system_name = identifier, - target_cpu = ctx.attr.target_cpu, # This is used to expose a "flag" that `config_setting` rules can use to # determine if the compiler is Clang. compiler = "clang", - # These attributes aren't meaningful at all so just use placeholder - # values. - target_libc = "local", - abi_version = "local", - abi_libc_version = "local", - # We do have to pass in our tool paths. tool_paths = llvm_tool_paths(llvm_bindir, clang_bindir), )