aboutsummaryrefslogtreecommitdiff
path: root/proto/protobuf/3rdparty/crates/BUILD.slab-0.4.7.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'proto/protobuf/3rdparty/crates/BUILD.slab-0.4.7.bazel')
-rw-r--r--proto/protobuf/3rdparty/crates/BUILD.slab-0.4.7.bazel16
1 files changed, 12 insertions, 4 deletions
diff --git a/proto/protobuf/3rdparty/crates/BUILD.slab-0.4.7.bazel b/proto/protobuf/3rdparty/crates/BUILD.slab-0.4.7.bazel
index eb596a2f..55eecb9f 100644
--- a/proto/protobuf/3rdparty/crates/BUILD.slab-0.4.7.bazel
+++ b/proto/protobuf/3rdparty/crates/BUILD.slab-0.4.7.bazel
@@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"])
rust_library(
name = "slab",
- srcs = glob(["**/*.rs"]),
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
compile_data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -85,8 +89,11 @@ rust_library(
)
cargo_build_script(
- name = "slab_build_script",
- srcs = glob(["**/*.rs"]),
+ name = "slab_bs",
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
crate_features = [
"default",
"std",
@@ -95,6 +102,7 @@ cargo_build_script(
crate_root = "build.rs",
data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -124,6 +132,6 @@ cargo_build_script(
alias(
name = "build_script_build",
- actual = ":slab_build_script",
+ actual = ":slab_bs",
tags = ["manual"],
)