Skip to content

Commit

Permalink
[cc] Add cc toolchain to starlark cc_proto_library
Browse files Browse the repository at this point in the history
Fixes bazelbuild#16577

Closes bazelbuild#16585.

PiperOrigin-RevId: 485600476
Change-Id: I3c2985731ff800a2c6136f401ed3c7e5e89518ad
  • Loading branch information
Yannic authored and Lucas Ripoche committed Jun 13, 2023
1 parent 5419650 commit 176bb46
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ cc_proto_aspect = aspect(
default = configuration_field(fragment = "proto", name = "proto_toolchain_for_cc"),
),
"_cc_toolchain": attr.label(default = "@bazel_tools//tools/cpp:current_cc_toolchain"),
"_cc_toolchain_type": attr.label(default = "@bazel_tools//tools/cpp:toolchain_type"),
},
toolchains = cc_helper.use_cpp_toolchain(),
)
Expand Down

0 comments on commit 176bb46

Please sign in to comment.