From 69c9748afb22c4d8051457a9e1bc7d554342c534 Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 13 Mar 2024 07:55:28 -0700 Subject: [PATCH] BEGIN_PUBLIC Fix problem with the toolchain definition. A test for this will be added later in the form of an example toolchain. END_PUBLIC PiperOrigin-RevId: 615416990 Change-Id: I1f7fd1640e88b446597768b4f75c2154b630074f --- cc/toolchains/toolchain.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cc/toolchains/toolchain.bzl b/cc/toolchains/toolchain.bzl index 0fbb45f..cbbcb53 100644 --- a/cc/toolchains/toolchain.bzl +++ b/cc/toolchains/toolchain.bzl @@ -13,7 +13,7 @@ # limitations under the License. """Implementation of the cc_toolchain rule.""" -load("//cc:defs.bzl", "cc_toolchain") +load("//cc:defs.bzl", _cc_toolchain = "cc_toolchain") load( "//cc/toolchains/impl:toolchain_config.bzl", "cc_legacy_file_group", @@ -128,7 +128,7 @@ def cc_toolchain( if visibility != None: all_kwargs["visibility"] = visibility - cc_toolchain( + _cc_toolchain( name = name, toolchain_config = config_name, all_files = config_name,