Skip to content

Commit ce3027c

Browse files
committed
format toolchains_repo.bzl
1 parent e36105c commit ce3027c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/private/toolchains_repo.bzl

+4-4
Original file line numberDiff line numberDiff line change
@@ -386,18 +386,18 @@ toolchain_aliases repo because referencing the `python` interpreter target from
386386
this repo causes an eager fetch of the toolchain for the host platform.
387387
""",
388388
attrs = {
389-
"platforms": attr.string_list(mandatory = True),
390-
"python_version": attr.string(mandatory = True),
391-
"os_names": attr.string_dict(
389+
"archs": attr.string_dict(
392390
doc = """
393391
If set, overrides the platform metadata. Keyed by index in `platforms`
394392
""",
395393
),
396-
"archs": attr.string_dict(
394+
"os_names": attr.string_dict(
397395
doc = """
398396
If set, overrides the platform metadata. Keyed by index in `platforms`
399397
""",
400398
),
399+
"platforms": attr.string_list(mandatory = True),
400+
"python_version": attr.string(mandatory = True),
401401
"_rule_name": attr.string(default = "host_toolchain"),
402402
"_rules_python_workspace": attr.label(default = Label("//:WORKSPACE")),
403403
},

0 commit comments

Comments
 (0)