Skip to content

Commit

Permalink
fix(toolchains): properly pass toolchain_type
Browse files Browse the repository at this point in the history
  • Loading branch information
mgred committed Jul 3, 2024
1 parent ab4d52d commit 9c4b694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _impl(ctx):
register_platform_toolchains(
name = name,
assets = assets,
toolchain_type = "@bzlparty_tools//toolchains:%s_toolchain_type",
toolchain_type = "@bzlparty_tools//toolchains:%s_toolchain_type" % name,
)

def load_files(**kwargs):
Expand Down
2 changes: 1 addition & 1 deletion lib/toolchains.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ toolchain(
name = "{name}_{platform}_toolchain",
toolchain = "@{name}_{platform}//:{name}_binary_toolchain",
exec_compatible_with = {compatible_with},
toolchain_type = "@bzlparty_tools//toolchains:{name}_toolchain_type",
toolchain_type = "{toolchain_type}",
visibility = ["//visibility:public"],
)
"""
Expand Down

0 comments on commit 9c4b694

Please sign in to comment.