From 64d19dbf11f9cfee8e67e18c0a40ffabe4deb804 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Thu, 17 Jun 2021 16:15:23 -0700 Subject: [PATCH] Regenerate documentation --- docs/defs.md | 2 +- docs/flatten.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/defs.md b/docs/defs.md index 15f0435165..e6b0c6d8f1 100644 --- a/docs/defs.md +++ b/docs/defs.md @@ -228,7 +228,7 @@ Hello world | deps | List of other libraries to be linked to this library target.

These can be either other rust_library targets or cc_library targets if linking a native library. | List of labels | optional | [] | | edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" | | linker_script | Link script to forward into linker via rustc options. | Label | optional | None | -| out_binary | - | Boolean | optional | False | +| out_binary | Force a target, regardless of it's crate_type, to always mark the file as executable. | Boolean | optional | False | | out_dir_tar | __Deprecated__, do not use, see [#cargo_build_script] instead. | Label | optional | None | | proc_macro_deps | List of rust_library targets with kind proc-macro used to help build this library target. | List of labels | optional | [] | | rustc_env | Dictionary of additional "key": "value" environment variables to set for rustc.

rust_test()/rust_binary() rules can use $(rootpath //package:target) to pass in the location of a generated file or external tool. Cargo build scripts that wish to expand locations should use cargo_build_script()'s build_script_env argument instead, as build scripts are run in a different environment - see cargo_build_script()'s documentation for more. | Dictionary: String -> String | optional | {} | diff --git a/docs/flatten.md b/docs/flatten.md index ffc10f312a..10b3f47957 100644 --- a/docs/flatten.md +++ b/docs/flatten.md @@ -313,7 +313,7 @@ Hello world | deps | List of other libraries to be linked to this library target.

These can be either other rust_library targets or cc_library targets if linking a native library. | List of labels | optional | [] | | edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" | | linker_script | Link script to forward into linker via rustc options. | Label | optional | None | -| out_binary | - | Boolean | optional | False | +| out_binary | Force a target, regardless of it's crate_type, to always mark the file as executable. | Boolean | optional | False | | out_dir_tar | __Deprecated__, do not use, see [#cargo_build_script] instead. | Label | optional | None | | proc_macro_deps | List of rust_library targets with kind proc-macro used to help build this library target. | List of labels | optional | [] | | rustc_env | Dictionary of additional "key": "value" environment variables to set for rustc.

rust_test()/rust_binary() rules can use $(rootpath //package:target) to pass in the location of a generated file or external tool. Cargo build scripts that wish to expand locations should use cargo_build_script()'s build_script_env argument instead, as build scripts are run in a different environment - see cargo_build_script()'s documentation for more. | Dictionary: String -> String | optional | {} |