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
@@ -1205,6 +1205,7 @@ See @rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX r
1205
1205
| <aid="rust_toolchain-llvm_tools"></a>llvm_tools | LLVM tools that are shipped with the Rust toolchain. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |
| <aid="rust_toolchain-os"></a>os | The operating system for the current toolchain | String | optional | <code>""</code> |
1208
+
| <aid="rust_toolchain-per_crate_rustc_flags"></a>per_crate_rustc_flags | Extra flags to pass to rustc in non-exec configuration | List of strings | optional | <code>[]</code> |
1208
1209
| <aid="rust_toolchain-rust_doc"></a>rust_doc | The location of the <code>rustdoc</code> binary. Can be a direct source or a filegroup containing one item. | <ahref="https://bazel.build/concepts/labels">Label</a> | required ||
1209
1210
| <aid="rust_toolchain-rust_std"></a>rust_std | The Rust standard library. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |
1210
1211
| <aid="rust_toolchain-rustc"></a>rustc | The location of the <code>rustc</code> binary. Can be a direct source or a filegroup containing one item. | <ahref="https://bazel.build/concepts/labels">Label</a> | required ||
@@ -107,6 +107,7 @@ See @rules_rust//rust:repositories.bzl for examples of defining the @rust_cpuX r
107
107
| <aid="rust_toolchain-llvm_tools"></a>llvm_tools | LLVM tools that are shipped with the Rust toolchain. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |
| <aid="rust_toolchain-os"></a>os | The operating system for the current toolchain | String | optional | <code>""</code> |
110
+
| <aid="rust_toolchain-per_crate_rustc_flags"></a>per_crate_rustc_flags | Extra flags to pass to rustc in non-exec configuration | List of strings | optional | <code>[]</code> |
110
111
| <aid="rust_toolchain-rust_doc"></a>rust_doc | The location of the <code>rustdoc</code> binary. Can be a direct source or a filegroup containing one item. | <ahref="https://bazel.build/concepts/labels">Label</a> | required ||
111
112
| <aid="rust_toolchain-rust_std"></a>rust_std | The Rust standard library. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |
112
113
| <aid="rust_toolchain-rustc"></a>rustc | The location of the <code>rustc</code> binary. Can be a direct source or a filegroup containing one item. | <ahref="https://bazel.build/concepts/labels">Label</a> | required ||
"Add additional rustc_flag to matching crates from the command line with `--@rules_rust//:experimental_per_crate_rustc_flag`. "+
1968
+
"The expected flag format is prefix_filter@flag, where any crate with a label or execution path starting with the prefix filter will be built with the given flag."+
1969
+
"The label matching uses the canonical form of the label (i.e //package:label_name)."+
1970
+
"The execution path is the relative path to your workspace directory including the base name (including extension) of the crate root."+
1971
+
"This flag is only applied to the exec configuration (proc-macros, cargo_build_script, etc)."+
0 commit comments