Skip to content

Commit f2fa07a

Browse files
authored
refactor: Remove unused CC_TOOLCHAIN definition (#2981)
Fixes #2979. The definition appears unused and helps advance the goal of entirely removing current_cc_toolchain: see bazelbuild/bazel#26282.
1 parent e225a1e commit f2fa07a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/private/attributes.bzl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,6 @@ def copy_common_test_kwargs(kwargs):
156156
if key in kwargs
157157
}
158158

159-
CC_TOOLCHAIN = {
160-
# NOTE: The `cc_helper.find_cpp_toolchain()` function expects the attribute
161-
# name to be this name.
162-
"_cc_toolchain": attr.label(default = "@bazel_tools//tools/cpp:current_cc_toolchain"),
163-
}
164-
165159
# The common "data" attribute definition.
166160
DATA_ATTRS = {
167161
# NOTE: The "flags" attribute is deprecated, but there isn't an alternative

0 commit comments

Comments
 (0)