aboutsummaryrefslogtreecommitdiff
path: root/bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel')
-rw-r--r--bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel16
1 files changed, 12 insertions, 4 deletions
diff --git a/bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel b/bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel
index 4cd6a5b9..55fb590d 100644
--- a/bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel
+++ b/bindgen/3rdparty/crates/BUILD.bindgen-0.69.1.bazel
@@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"])
rust_library(
name = "bindgen",
- srcs = glob(["**/*.rs"]),
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
compile_data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -99,8 +103,11 @@ rust_library(
)
cargo_build_script(
- name = "bindgen_build_script",
- srcs = glob(["**/*.rs"]),
+ name = "bindgen_bs",
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
crate_features = [
"__cli",
"experimental",
@@ -110,6 +117,7 @@ cargo_build_script(
crate_root = "build.rs",
data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -139,6 +147,6 @@ cargo_build_script(
alias(
name = "build_script_build",
- actual = ":bindgen_build_script",
+ actual = ":bindgen_bs",
tags = ["manual"],
)