aboutsummaryrefslogtreecommitdiff
path: root/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel')
-rw-r--r--proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel12
1 files changed, 10 insertions, 2 deletions
diff --git a/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel
index a24bfb86..bbafad1f 100644
--- a/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel
+++ b/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel
@@ -16,9 +16,13 @@ package(default_visibility = ["//visibility:public"])
rust_library(
name = "protoc_gen_prost",
- srcs = glob(["**/*.rs"]),
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
compile_data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -89,9 +93,13 @@ rust_library(
rust_binary(
name = "protoc-gen-prost__bin",
- srcs = glob(["**/*.rs"]),
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
compile_data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",