Skip to content

Commit 12c67ae

Browse files
committed
Added documentation to rust_binary::out_binary
1 parent 2d951b4 commit 12c67ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rust/private/rust.bzl

+4-1
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,10 @@ _rust_binary_attrs = {
885885
cfg = "exec",
886886
allow_single_file = True,
887887
),
888-
"out_binary": attr.bool(),
888+
"out_binary": attr.bool(
889+
doc = "Force a target, regardless of it's `crate_type`, to always mark the file as executable.",
890+
default = False,
891+
),
889892
}
890893

891894
rust_binary = rule(

0 commit comments

Comments
 (0)