Skip to content

Commit facc869

Browse files
committed
Added documentation to rust_binary::out_binary
1 parent 4979207 commit facc869

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rust/private/rust.bzl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,10 @@ _rust_binary_attrs = {
860860
cfg = "exec",
861861
allow_single_file = True,
862862
),
863-
"out_binary": attr.bool(),
863+
"out_binary": attr.bool(
864+
doc = "Force a target, regardless of it's `crate_type`, to always mark the file as executable.",
865+
default = False,
866+
),
864867
}
865868

866869
rust_binary = rule(

0 commit comments

Comments
 (0)