aboutsummaryrefslogtreecommitdiff
path: root/crate_universe/3rdparty/crates/BUILD.num-integer-0.1.45.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'crate_universe/3rdparty/crates/BUILD.num-integer-0.1.45.bazel')
-rw-r--r--crate_universe/3rdparty/crates/BUILD.num-integer-0.1.45.bazel16
1 files changed, 12 insertions, 4 deletions
diff --git a/crate_universe/3rdparty/crates/BUILD.num-integer-0.1.45.bazel b/crate_universe/3rdparty/crates/BUILD.num-integer-0.1.45.bazel
index b5e4d110..41b380a2 100644
--- a/crate_universe/3rdparty/crates/BUILD.num-integer-0.1.45.bazel
+++ b/crate_universe/3rdparty/crates/BUILD.num-integer-0.1.45.bazel
@@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"])
rust_library(
name = "num_integer",
- srcs = glob(["**/*.rs"]),
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
compile_data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -86,8 +90,11 @@ rust_library(
)
cargo_build_script(
- name = "num-integer_build_script",
- srcs = glob(["**/*.rs"]),
+ name = "num-integer_bs",
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
crate_features = [
"default",
"std",
@@ -96,6 +103,7 @@ cargo_build_script(
crate_root = "build.rs",
data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -125,6 +133,6 @@ cargo_build_script(
alias(
name = "build_script_build",
- actual = ":num-integer_build_script",
+ actual = ":num-integer_bs",
tags = ["manual"],
)