diff options
Diffstat (limited to 'tools/rust_analyzer/3rdparty/crates/BUILD.memchr-2.5.0.bazel')
-rw-r--r-- | tools/rust_analyzer/3rdparty/crates/BUILD.memchr-2.5.0.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/tools/rust_analyzer/3rdparty/crates/BUILD.memchr-2.5.0.bazel b/tools/rust_analyzer/3rdparty/crates/BUILD.memchr-2.5.0.bazel index 77a58144..91d9d93b 100644 --- a/tools/rust_analyzer/3rdparty/crates/BUILD.memchr-2.5.0.bazel +++ b/tools/rust_analyzer/3rdparty/crates/BUILD.memchr-2.5.0.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "memchr", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -67,8 +71,11 @@ rust_library( ) cargo_build_script( - name = "memchr_build_script", - srcs = glob(["**/*.rs"]), + name = "memchr_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "std", @@ -77,6 +84,7 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -103,6 +111,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":memchr_build_script", + actual = ":memchr_bs", tags = ["manual"], ) |