diff options
Diffstat (limited to 'tools/rust_analyzer/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel')
-rw-r--r-- | tools/rust_analyzer/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/tools/rust_analyzer/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel b/tools/rust_analyzer/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel index 7112a278..5672ddd0 100644 --- a/tools/rust_analyzer/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel +++ b/tools/rust_analyzer/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "io_lifetimes", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -120,8 +124,11 @@ rust_library( ) cargo_build_script( - name = "io-lifetimes_build_script", - srcs = glob(["**/*.rs"]), + name = "io-lifetimes_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "close", "default", @@ -133,6 +140,7 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -159,6 +167,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":io-lifetimes_build_script", + actual = ":io-lifetimes_bs", tags = ["manual"], ) |