From 80629201abb61d9172639fefc7bb5b9d6007db08 Mon Sep 17 00:00:00 2001 From: John Cater Date: Tue, 17 Dec 2024 19:22:54 -0500 Subject: [PATCH] Remove obsolete implicit attribute `_cc_toolchain` (#5062) CC toolchains are gathered from the line: ``` toolchains = use_cc_toolchains(), ``` Signed-off-by: John Cater --- bazel/p4_library.bzl | 2 -- 1 file changed, 2 deletions(-) diff --git a/bazel/p4_library.bzl b/bazel/p4_library.bzl index 07e38eb62a7..4882cdd8149 100644 --- a/bazel/p4_library.bzl +++ b/bazel/p4_library.bzl @@ -170,7 +170,6 @@ p4_library = rule( default = Label("@com_github_p4lang_p4c//:p4include"), allow_files = [".p4", ".h"], ), - "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, toolchains = use_cpp_toolchain(), ) @@ -250,7 +249,6 @@ p4_graphs = rule( default = Label("@com_github_p4lang_p4c//:p4include"), allow_files = [".p4", ".h"], ), - "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, toolchains = use_cpp_toolchain(), )