aboutsummaryrefslogtreecommitdiff
path: root/wasm_bindgen/3rdparty/crates/BUILD.rayon-core-1.11.0.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'wasm_bindgen/3rdparty/crates/BUILD.rayon-core-1.11.0.bazel')
-rw-r--r--wasm_bindgen/3rdparty/crates/BUILD.rayon-core-1.11.0.bazel16
1 files changed, 12 insertions, 4 deletions
diff --git a/wasm_bindgen/3rdparty/crates/BUILD.rayon-core-1.11.0.bazel b/wasm_bindgen/3rdparty/crates/BUILD.rayon-core-1.11.0.bazel
index c69008c6..008ab2f5 100644
--- a/wasm_bindgen/3rdparty/crates/BUILD.rayon-core-1.11.0.bazel
+++ b/wasm_bindgen/3rdparty/crates/BUILD.rayon-core-1.11.0.bazel
@@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"])
rust_library(
name = "rayon_core",
- srcs = glob(["**/*.rs"]),
+ srcs = glob(
+ include = ["**/*.rs"],
+ allow_empty = False,
+ ),
compile_data = glob(
include = ["**"],
+ allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
@@ -85,12 +89,16 @@ rust_library(
)
cargo_build_script(
- name = "rayon-core_build_script",
- srcs = glob(["**/*.rs"]),
+ name = "rayon-core_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/**/*",
@@ -118,6 +126,6 @@ cargo_build_script(
alias(
name = "build_script_build",
- actual = ":rayon-core_build_script",
+ actual = ":rayon-core_bs",
tags = ["manual"],
)