diff options
author | Googler <noreply@google.com> | 2024-03-13 07:55:28 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-03-13 07:56:07 -0700 |
commit | 69c9748afb22c4d8051457a9e1bc7d554342c534 (patch) | |
tree | c9eb4579ca54642ac647b7f2d0b02afca33a1347 | |
parent | 59cf8ff10910b118cafade32d01fdbeb5e98e0f0 (diff) | |
download | bazelbuild-rules_cc-69c9748afb22c4d8051457a9e1bc7d554342c534.tar.gz |
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
-rw-r--r-- | cc/toolchains/toolchain.bzl | 4 |
1 files 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, |