diff options
Diffstat (limited to 'wasm_bindgen/3rdparty/crates/BUILD.num-traits-0.2.15.bazel')
-rw-r--r-- | wasm_bindgen/3rdparty/crates/BUILD.num-traits-0.2.15.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/wasm_bindgen/3rdparty/crates/BUILD.num-traits-0.2.15.bazel b/wasm_bindgen/3rdparty/crates/BUILD.num-traits-0.2.15.bazel index 3de8690e..0a705fe7 100644 --- a/wasm_bindgen/3rdparty/crates/BUILD.num-traits-0.2.15.bazel +++ b/wasm_bindgen/3rdparty/crates/BUILD.num-traits-0.2.15.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "num_traits", - 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 = "num-traits_build_script", - srcs = glob(["**/*.rs"]), + name = "num-traits_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/**/*", @@ -116,6 +124,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":num-traits_build_script", + actual = ":num-traits_bs", tags = ["manual"], ) |