Remove unused parts of configuring a cc_toolchain (#6650)

These can be completely skipped at this point without issue.
This commit is contained in:
Chandler Carruth
2026-01-23 17:42:24 +00:00
committed by GitHub
parent 7b36de761d
commit 47912f7ac3
@@ -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),
)