diff options
Diffstat (limited to 'examples/crate_universe/vendor_remote_manifests/crates/BUILD.libc-0.2.153.bazel')
-rw-r--r-- | examples/crate_universe/vendor_remote_manifests/crates/BUILD.libc-0.2.153.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/examples/crate_universe/vendor_remote_manifests/crates/BUILD.libc-0.2.153.bazel b/examples/crate_universe/vendor_remote_manifests/crates/BUILD.libc-0.2.153.bazel index f7b40f08..df9271ad 100644 --- a/examples/crate_universe/vendor_remote_manifests/crates/BUILD.libc-0.2.153.bazel +++ b/examples/crate_universe/vendor_remote_manifests/crates/BUILD.libc-0.2.153.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "libc", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -141,8 +145,11 @@ rust_library( ) cargo_build_script( - name = "libc_build_script", - srcs = glob(["**/*.rs"]), + name = "libc_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "std", @@ -207,6 +214,7 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -233,6 +241,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":libc_build_script", + actual = ":libc_bs", tags = ["manual"], ) |