mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 13:31:06 +01:00
Remove unused parts of configuring a cc_toolchain (#6650)
These can be completely skipped at this point without issue.
This commit is contained in:
@@ -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),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user