Skip to content

Commit

Permalink
Remove unnecessary cc_toolchain_config compiler API (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored Feb 28, 2024
1 parent f0524fe commit e490d95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion crosstool/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ cc_toolchain_suite(
[
cc_toolchain_config(
name = arch,
compiler = "clang",
cpu = arch,
cxx_builtin_include_directories = [
%{cxx_builtin_include_directories}
Expand Down
3 changes: 1 addition & 2 deletions crosstool/cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2652,7 +2652,7 @@ please file an issue at https://github.com/bazelbuild/apple_support/issues/new
target_system_name = target_system_name,
target_cpu = ctx.attr.cpu,
target_libc = target_libc,
compiler = ctx.attr.compiler,
compiler = "clang",
abi_version = abi_version,
abi_libc_version = abi_libc_version,
tool_paths = [tool_path(name = name, path = path) for (name, path) in tool_paths.items()],
Expand All @@ -2669,7 +2669,6 @@ cc_toolchain_config = rule(
implementation = _impl,
attrs = {
"cpu": attr.string(mandatory = True),
"compiler": attr.string(),
"cxx_builtin_include_directories": attr.string_list(),
"tool_paths_overrides": attr.string_dict(),
"extra_env": attr.string_dict(),
Expand Down

0 comments on commit e490d95

Please sign in to comment.