Skip to content

Commit 3aea414

Browse files
authored
refactor: also rename host toolchain impl function name (bazel-contrib#2930)
The implementation function name got missed when the repo rule name itself was changed.
1 parent 2036571 commit 3aea414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/private/toolchains_repo.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ actions.""",
309309
environ = [REPO_DEBUG_ENV_VAR],
310310
)
311311

312-
def _host_toolchain_impl(rctx):
312+
def _host_compatible_python_repo(rctx):
313313
rctx.file("BUILD.bazel", _HOST_TOOLCHAIN_BUILD_CONTENT)
314314

315315
os_name = repo_utils.get_platforms_os_name(rctx)
@@ -380,7 +380,7 @@ def _host_toolchain_impl(rctx):
380380
# NOTE: The term "toolchain" is a misnomer for this rule. This doesn't define
381381
# a repo with toolchains or toolchain implementations.
382382
host_compatible_python_repo = repository_rule(
383-
_host_toolchain_impl,
383+
_host_compatible_python_repo,
384384
doc = """\
385385
Creates a repository with a shorter name meant to be used in the repository_ctx,
386386
which needs to have `symlinks` for the interpreter. This is separate from the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy