diff options
Diffstat (limited to 'tools/rust_analyzer/3rdparty/crates/BUILD.quote-1.0.29.bazel')
-rw-r--r-- | tools/rust_analyzer/3rdparty/crates/BUILD.quote-1.0.29.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/tools/rust_analyzer/3rdparty/crates/BUILD.quote-1.0.29.bazel b/tools/rust_analyzer/3rdparty/crates/BUILD.quote-1.0.29.bazel index 9c76381d..43f12e0c 100644 --- a/tools/rust_analyzer/3rdparty/crates/BUILD.quote-1.0.29.bazel +++ b/tools/rust_analyzer/3rdparty/crates/BUILD.quote-1.0.29.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "quote", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -68,8 +72,11 @@ rust_library( ) cargo_build_script( - name = "quote_build_script", - srcs = glob(["**/*.rs"]), + name = "quote_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "proc-macro", @@ -78,6 +85,7 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -104,6 +112,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":quote_build_script", + actual = ":quote_bs", tags = ["manual"], ) |