diff options
Diffstat (limited to 'examples/crate_universe/vendor_local_manifests/crates/parking_lot_core-0.9.9/BUILD.bazel')
-rw-r--r-- | examples/crate_universe/vendor_local_manifests/crates/parking_lot_core-0.9.9/BUILD.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/examples/crate_universe/vendor_local_manifests/crates/parking_lot_core-0.9.9/BUILD.bazel b/examples/crate_universe/vendor_local_manifests/crates/parking_lot_core-0.9.9/BUILD.bazel index 4bc1d540..05ab5ec5 100644 --- a/examples/crate_universe/vendor_local_manifests/crates/parking_lot_core-0.9.9/BUILD.bazel +++ b/examples/crate_universe/vendor_local_manifests/crates/parking_lot_core-0.9.9/BUILD.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "parking_lot_core", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -166,12 +170,16 @@ rust_library( ) cargo_build_script( - name = "parking_lot_core_build_script", - srcs = glob(["**/*.rs"]), + name = "parking_lot_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/**/*", @@ -198,6 +206,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":parking_lot_core_build_script", + actual = ":parking_lot_core_bs", tags = ["manual"], ) |