aboutsummaryrefslogtreecommitdiff
path: root/proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel')
-rw-r--r--proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel16
1 files changed, 12 insertions, 4 deletions
diff --git a/proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel b/proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel
index 548d117f..96322716 100644
--- a/proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel
+++ b/proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel
@@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"])
rust_proc_macro(
name = "async_trait",
- srcs = glob(["**/*.rs"]),
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
compile_data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -84,12 +88,16 @@ rust_proc_macro(
)
cargo_build_script(
- name = "async-trait_build_script",
- srcs = glob(["**/*.rs"]),
+ name = "async-trait_bs",
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -116,6 +124,6 @@ cargo_build_script(
alias(
name = "build_script_build",
- actual = ":async-trait_build_script",
+ actual = ":async-trait_bs",
tags = ["manual"],
)