From 12c67aed23e50652d658eb150f8ddb2afcb25dfa Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Thu, 17 Jun 2021 16:15:02 -0700 Subject: [PATCH] Added documentation to `rust_binary::out_binary` --- rust/private/rust.bzl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rust/private/rust.bzl b/rust/private/rust.bzl index c1fb0fa967..6b9b082b6d 100644 --- a/rust/private/rust.bzl +++ b/rust/private/rust.bzl @@ -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(