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 ||
58
59
| <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 |
59
61
| <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 |
60
62
| <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 |
61
63
| <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 |
@@ -67,7 +69,7 @@ Running `bazel build //hello_lib:hello_lib_doc` will build a zip file containing
| <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 ||
117
119
| <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
+
| <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`
1380
1383
cc_toolchain (CcToolchainInfo): The current `cc_toolchain`
1381
1384
feature_configuration (FeatureConfiguration): feature configuration to use with cc_toolchain
1382
-
1385
+
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