Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9b16bfb

Browse filesBrowse files
authored
chore: cleanup unused attributes for the host_toolchain repo rule (bazel-contrib#2195)
The attributes were not used, so we can remove them for now.
1 parent c9972d3 commit 9b16bfb
Copy full SHA for 9b16bfb

File tree

Expand file treeCollapse file tree

3 files changed

+3
-16
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-16
lines changed

‎examples/bzlmod/MODULE.bazel.lock

Copy file name to clipboardExpand all lines: examples/bzlmod/MODULE.bazel.lock
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎python/private/python_repositories.bzl

Copy file name to clipboardExpand all lines: python/private/python_repositories.bzl
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -692,12 +692,7 @@ def python_register_toolchains(
692692
platform = platform,
693693
))
694694

695-
host_toolchain(
696-
name = name + "_host",
697-
python_version = python_version,
698-
user_repository_name = name,
699-
platforms = loaded_platforms,
700-
)
695+
host_toolchain(name = name + "_host")
701696

702697
toolchain_aliases(
703698
name = name,

‎python/private/toolchains_repo.bzl

Copy file name to clipboardExpand all lines: python/private/toolchains_repo.bzl
-8Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,6 @@ toolchain_aliases repo because referencing the `python` interpreter target from
314314
this repo causes an eager fetch of the toolchain for the host platform.
315315
""",
316316
attrs = {
317-
"platforms": attr.string_list(
318-
doc = "List of platforms for which aliases shall be created",
319-
),
320-
"python_version": attr.string(doc = "The Python version."),
321-
"user_repository_name": attr.string(
322-
mandatory = True,
323-
doc = "The base name for all created repositories, like 'python38'.",
324-
),
325317
"_rule_name": attr.string(default = "host_toolchain"),
326318
"_rules_python_workspace": attr.label(default = Label("//:WORKSPACE")),
327319
},

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.