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