Skip to content

Commit

Permalink
v0.0.0-0.nightly.2024.08.04
Browse files Browse the repository at this point in the history
  • Loading branch information
ogra committed Aug 4, 2024
2 parents 8168f8b + d9a550a commit 1923f80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bazel/carbon_rules/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _carbon_binary_impl(ctx):
mnemonic = "CarbonLink",
progress_message = "Linking " + bin.short_path,
)
return [DefaultInfo(files = depset([bin]))]
return [DefaultInfo(files = depset([bin]), executable = bin)]

_carbon_binary_internal = rule(
implementation = _carbon_binary_impl,
Expand Down Expand Up @@ -92,6 +92,7 @@ _carbon_binary_internal = rule(
),
"srcs": attr.label_list(allow_files = [".carbon"]),
},
executable = True,
)

def carbon_binary(name, srcs):
Expand Down

0 comments on commit 1923f80

Please sign in to comment.