aboutsummaryrefslogtreecommitdiff
path: root/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel')
-rw-r--r--crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel16
1 files changed, 12 insertions, 4 deletions
diff --git a/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel b/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel
index 8b251193..e694e6b7 100644
--- a/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel
+++ b/crate_universe/3rdparty/crates/BUILD.valuable-0.1.0.bazel
@@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"])
rust_library(
name = "valuable",
- srcs = glob(["**/*.rs"]),
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
compile_data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -81,12 +85,16 @@ rust_library(
)
cargo_build_script(
- name = "valuable_build_script",
- srcs = glob(["**/*.rs"]),
+ name = "valuable_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/**/*",
@@ -113,6 +121,6 @@ cargo_build_script(
alias(
name = "build_script_build",
- actual = ":valuable_build_script",
+ actual = ":valuable_bs",
tags = ["manual"],
)