mirror of https://github.com/bazelbuild/rules_cc
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
This commit is contained in:
parent
59cf8ff109
commit
69c9748afb
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
"""Implementation of the cc_toolchain rule."""
|
"""Implementation of the cc_toolchain rule."""
|
||||||
|
|
||||||
load("//cc:defs.bzl", "cc_toolchain")
|
load("//cc:defs.bzl", _cc_toolchain = "cc_toolchain")
|
||||||
load(
|
load(
|
||||||
"//cc/toolchains/impl:toolchain_config.bzl",
|
"//cc/toolchains/impl:toolchain_config.bzl",
|
||||||
"cc_legacy_file_group",
|
"cc_legacy_file_group",
|
||||||
|
@ -128,7 +128,7 @@ def cc_toolchain(
|
||||||
if visibility != None:
|
if visibility != None:
|
||||||
all_kwargs["visibility"] = visibility
|
all_kwargs["visibility"] = visibility
|
||||||
|
|
||||||
cc_toolchain(
|
_cc_toolchain(
|
||||||
name = name,
|
name = name,
|
||||||
toolchain_config = config_name,
|
toolchain_config = config_name,
|
||||||
all_files = config_name,
|
all_files = config_name,
|
||||||
|
|
Loading…
Reference in New Issue