Skip to content

Commit

Permalink
Added documentation to rust_binary::out_binary
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre committed Jun 17, 2021
1 parent 2d951b4 commit 12c67ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rust/private/rust.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,10 @@ _rust_binary_attrs = {
cfg = "exec",
allow_single_file = True,
),
"out_binary": attr.bool(),
"out_binary": attr.bool(
doc = "Force a target, regardless of it's `crate_type`, to always mark the file as executable.",
default = False,
),
}

rust_binary = rule(
Expand Down

0 comments on commit 12c67ae

Please sign in to comment.