Skip to content

Commit fed82d4

Browse files
committed
Add empty.sh and fix single_binary_toolchain_rule
1 parent 431a39b commit fed82d4

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

tools/build_defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ IS_HOST_WINDOWS = Label("@platforms//os:windows") in [Label(l) for l in HOST_CON
5757

5858
def _single_binary_toolchain_rule_impl(ctx):
5959
return platform_common.ToolchainInfo(
60-
binary = ctx.attr.binary,
60+
binary = ctx.file.binary,
6161
)
6262

6363
_single_binary_toolchain_rule = rule(

tools/launcher/BUILD.tools

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ single_binary_toolchain(
4949

5050
single_binary_toolchain(
5151
name = "3_no_launcher_toolchain",
52+
binary = "empty.sh",
5253
toolchain_type = ":launcher_toolchain_type",
5354
)
5455

@@ -69,5 +70,6 @@ single_binary_toolchain(
6970

7071
single_binary_toolchain(
7172
name = "3_no_launcher_maker_toolchain",
73+
binary = "empty.sh",
7274
toolchain_type = ":launcher_maker_toolchain_type",
7375
)

tools/launcher/empty.sh

Whitespace-only changes.

0 commit comments

Comments
 (0)