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
Builds a Rust library crate from a set of `proto_library`s suitable for gRPC.
@@ -630,6 +630,7 @@ rust_binary(
630
630
| <aid="rust_grpc_library-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
631
631
| <aid="rust_grpc_library-deps"></a>deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding gRPC stubs. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
632
632
| <aid="rust_grpc_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
633
+
| <aid="rust_grpc_library-rustc_flags"></a>rustc_flags | List of compiler flags passed to <code>rustc</code>.<br><br> These strings are subject to Make variable expansion for predefined source/output path variables like <code>$location</code>, <code>$execpath</code>, and <code>$rootpath</code>. This expansion is useful if you wish to pass a generated file of arguments to rustc: <code>@$(location //package:target)</code>. | List of strings | optional | <code>[]</code> |
633
634
634
635
635
636
<aid="rust_library"></a>
@@ -771,7 +772,7 @@ Builds a Rust proc-macro crate.
Builds a Rust library crate from a set of `proto_library`s.
@@ -807,6 +808,7 @@ rust_binary(
807
808
| <aid="rust_proto_library-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
808
809
| <aid="rust_proto_library-deps"></a>deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding stubs. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
809
810
| <aid="rust_proto_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
811
+
| <aid="rust_proto_library-rustc_flags"></a>rustc_flags | List of compiler flags passed to <code>rustc</code>.<br><br> These strings are subject to Make variable expansion for predefined source/output path variables like <code>$location</code>, <code>$execpath</code>, and <code>$rootpath</code>. This expansion is useful if you wish to pass a generated file of arguments to rustc: <code>@$(location //package:target)</code>. | List of strings | optional | <code>[]</code> |
Builds a Rust library crate from a set of `proto_library`s suitable for gRPC.
@@ -156,14 +156,15 @@ rust_binary(
156
156
| <aid="rust_grpc_library-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
157
157
| <aid="rust_grpc_library-deps"></a>deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding gRPC stubs. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
158
158
| <aid="rust_grpc_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
159
+
| <aid="rust_grpc_library-rustc_flags"></a>rustc_flags | List of compiler flags passed to <code>rustc</code>.<br><br> These strings are subject to Make variable expansion for predefined source/output path variables like <code>$location</code>, <code>$execpath</code>, and <code>$rootpath</code>. This expansion is useful if you wish to pass a generated file of arguments to rustc: <code>@$(location //package:target)</code>. | List of strings | optional | <code>[]</code> |
Builds a Rust library crate from a set of `proto_library`s.
@@ -199,6 +200,7 @@ rust_binary(
199
200
| <aid="rust_proto_library-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
200
201
| <aid="rust_proto_library-deps"></a>deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding stubs. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
201
202
| <aid="rust_proto_library-rust_deps"></a>rust_deps | The crates the generated library depends on. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
203
+
| <aid="rust_proto_library-rustc_flags"></a>rustc_flags | List of compiler flags passed to <code>rustc</code>.<br><br> These strings are subject to Make variable expansion for predefined source/output path variables like <code>$location</code>, <code>$execpath</code>, and <code>$rootpath</code>. This expansion is useful if you wish to pass a generated file of arguments to rustc: <code>@$(location //package:target)</code>. | List of strings | optional | <code>[]</code> |
0 commit comments