You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/defs.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -228,7 +228,7 @@ Hello world
228
228
| <aid="rust_binary-deps"></a>deps | List of other libraries to be linked to this library target.<br><br>These can be either other <code>rust_library</code> targets or <code>cc_library</code> targets if linking a native library. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
229
229
| <aid="rust_binary-edition"></a>edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" |
230
230
| <aid="rust_binary-linker_script"></a>linker_script | Link script to forward into linker via rustc options. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
| <aid="rust_binary-out_binary"></a>out_binary |Force a target, regardless of it's <code>crate_type</code>, to always mark the file as executable.| Boolean | optional | False |
232
232
| <aid="rust_binary-out_dir_tar"></a>out_dir_tar |__Deprecated__, do not use, see [#cargo_build_script] instead. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
233
233
| <aid="rust_binary-proc_macro_deps"></a>proc_macro_deps | List of <code>rust_library</code> targets with kind <code>proc-macro</code> used to help build this library target. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
234
234
| <aid="rust_binary-rustc_env"></a>rustc_env | Dictionary of additional <code>"key": "value"</code> environment variables to set for rustc.<br><br>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. | <ahref="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | optional | {} |
Copy file name to clipboardExpand all lines: docs/flatten.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -313,7 +313,7 @@ Hello world
313
313
| <aid="rust_binary-deps"></a>deps | List of other libraries to be linked to this library target.<br><br>These can be either other <code>rust_library</code> targets or <code>cc_library</code> targets if linking a native library. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
314
314
| <aid="rust_binary-edition"></a>edition | The rust edition to use for this crate. Defaults to the edition specified in the rust_toolchain. | String | optional | "" |
315
315
| <aid="rust_binary-linker_script"></a>linker_script | Link script to forward into linker via rustc options. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
| <aid="rust_binary-out_binary"></a>out_binary |Force a target, regardless of it's <code>crate_type</code>, to always mark the file as executable.| Boolean | optional | False |
317
317
| <aid="rust_binary-out_dir_tar"></a>out_dir_tar |__Deprecated__, do not use, see [#cargo_build_script] instead. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
318
318
| <aid="rust_binary-proc_macro_deps"></a>proc_macro_deps | List of <code>rust_library</code> targets with kind <code>proc-macro</code> used to help build this library target. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
319
319
| <aid="rust_binary-rustc_env"></a>rustc_env | Dictionary of additional <code>"key": "value"</code> environment variables to set for rustc.<br><br>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. | <ahref="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | optional | {} |
0 commit comments