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
| <aid="rust_doc-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
59
58
| <aid="rust_doc-crate"></a>crate | The label of the target to generate code documentation for.<br><br><code>rust_doc</code> can generate HTML code documentation for the source files of <code>rust_library</code> or <code>rust_binary</code> targets. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
60
-
| <aid="rust_doc-experimental_use_whole_archive_for_native_deps"></a>experimental_use_whole_archive_for_native_deps | Whether to use +whole-archive linking modifier for native dependencies.<br><br>TODO: This is a stopgap feature and will be removed, see https://github.com/bazelbuild/rules_rust/issues/1268.| Boolean | optional | False |
61
59
| <aid="rust_doc-html_after_content"></a>html_after_content | File to add in <code><body></code>, after content. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
62
60
| <aid="rust_doc-html_before_content"></a>html_before_content | File to add in <code><body></code>, before content. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
63
61
| <aid="rust_doc-html_in_header"></a>html_in_header | File to add to <code><head></code>. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
@@ -69,7 +67,7 @@ Running `bazel build //hello_lib:hello_lib_doc` will build a zip file containing
@@ -118,6 +116,5 @@ Running `bazel test //hello_lib:hello_lib_doc_test` will run all documentation t
118
116
| <aid="rust_doc_test-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
119
117
| <aid="rust_doc_test-crate"></a>crate | The label of the target to generate code documentation for. <code>rust_doc_test</code> can generate HTML code documentation for the source files of <code>rust_library</code> or <code>rust_binary</code> targets. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
120
118
| <aid="rust_doc_test-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 |[]|
121
-
| <aid="rust_doc_test-experimental_use_whole_archive_for_native_deps"></a>experimental_use_whole_archive_for_native_deps | Whether to use +whole-archive linking modifier for native dependencies.<br><br>TODO: This is a stopgap feature and will be removed, see https://github.com/bazelbuild/rules_rust/issues/1268.| Boolean | optional | False |
toolchain (rust_toolchain): The current `rust_toolchain`
1388
1384
cc_toolchain (CcToolchainInfo): The current `cc_toolchain`
1389
1385
feature_configuration (FeatureConfiguration): feature configuration to use with cc_toolchain
1390
-
experimental_use_whole_archive_for_native_deps (bool): Whether to use the whole-archive link modifier for native deps, see https://github.com/bazelbuild/rules_rust/issues/1268
0 commit comments