From 22b482688738edbeb47b5598deca17a9da3ebeae Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Sat, 22 Apr 2023 10:05:58 -0700 Subject: [PATCH] Regenerate documentation --- docs/flatten.md | 6 ++++-- docs/rust_proto.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/flatten.md b/docs/flatten.md index 06d6bcff81..1e91e554f3 100644 --- a/docs/flatten.md +++ b/docs/flatten.md @@ -594,7 +594,7 @@ Running `bazel test //hello_lib:hello_lib_doc_test` will run all documentation t ## rust_grpc_library
-rust_grpc_library(name, deps, rust_deps)
+rust_grpc_library(name, deps, rust_deps, rustc_flags)
 
Builds a Rust library crate from a set of `proto_library`s suitable for gRPC. @@ -630,6 +630,7 @@ rust_binary( | name | A unique name for this target. | Name | required | | | deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding gRPC stubs. | List of labels | required | | | rust_deps | The crates the generated library depends on. | List of labels | optional | [] | +| rustc_flags | List of compiler flags passed to rustc.

These strings are subject to Make variable expansion for predefined source/output path variables like $location, $execpath, and $rootpath. This expansion is useful if you wish to pass a generated file of arguments to rustc: @$(location //package:target). | List of strings | optional | [] | @@ -771,7 +772,7 @@ Builds a Rust proc-macro crate. ## rust_proto_library
-rust_proto_library(name, deps, rust_deps)
+rust_proto_library(name, deps, rust_deps, rustc_flags)
 
Builds a Rust library crate from a set of `proto_library`s. @@ -807,6 +808,7 @@ rust_binary( | name | A unique name for this target. | Name | required | | | deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding stubs. | List of labels | required | | | rust_deps | The crates the generated library depends on. | List of labels | optional | [] | +| rustc_flags | List of compiler flags passed to rustc.

These strings are subject to Make variable expansion for predefined source/output path variables like $location, $execpath, and $rootpath. This expansion is useful if you wish to pass a generated file of arguments to rustc: @$(location //package:target). | List of strings | optional | [] | diff --git a/docs/rust_proto.md b/docs/rust_proto.md index 55a37b6973..e76c8bae37 100644 --- a/docs/rust_proto.md +++ b/docs/rust_proto.md @@ -120,7 +120,7 @@ configuration. ## rust_grpc_library
-rust_grpc_library(name, deps, rust_deps)
+rust_grpc_library(name, deps, rust_deps, rustc_flags)
 
Builds a Rust library crate from a set of `proto_library`s suitable for gRPC. @@ -156,6 +156,7 @@ rust_binary( | name | A unique name for this target. | Name | required | | | deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding gRPC stubs. | List of labels | required | | | rust_deps | The crates the generated library depends on. | List of labels | optional | [] | +| rustc_flags | List of compiler flags passed to rustc.

These strings are subject to Make variable expansion for predefined source/output path variables like $location, $execpath, and $rootpath. This expansion is useful if you wish to pass a generated file of arguments to rustc: @$(location //package:target). | List of strings | optional | [] | @@ -163,7 +164,7 @@ rust_binary( ## rust_proto_library
-rust_proto_library(name, deps, rust_deps)
+rust_proto_library(name, deps, rust_deps, rustc_flags)
 
Builds a Rust library crate from a set of `proto_library`s. @@ -199,6 +200,7 @@ rust_binary( | name | A unique name for this target. | Name | required | | | deps | List of proto_library dependencies that will be built. One crate for each proto_library will be created with the corresponding stubs. | List of labels | required | | | rust_deps | The crates the generated library depends on. | List of labels | optional | [] | +| rustc_flags | List of compiler flags passed to rustc.

These strings are subject to Make variable expansion for predefined source/output path variables like $location, $execpath, and $rootpath. This expansion is useful if you wish to pass a generated file of arguments to rustc: @$(location //package:target). | List of strings | optional | [] |