diff options
Diffstat (limited to 'examples/crate_universe/vendor_remote_manifests/crates/BUILD.proc-macro2-1.0.78.bazel')
-rw-r--r-- | examples/crate_universe/vendor_remote_manifests/crates/BUILD.proc-macro2-1.0.78.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/examples/crate_universe/vendor_remote_manifests/crates/BUILD.proc-macro2-1.0.78.bazel b/examples/crate_universe/vendor_remote_manifests/crates/BUILD.proc-macro2-1.0.78.bazel index 3ade9457..cb4f4927 100644 --- a/examples/crate_universe/vendor_remote_manifests/crates/BUILD.proc-macro2-1.0.78.bazel +++ b/examples/crate_universe/vendor_remote_manifests/crates/BUILD.proc-macro2-1.0.78.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "proc_macro2", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -86,8 +90,11 @@ rust_library( ) cargo_build_script( - name = "proc-macro2_build_script", - srcs = glob(["**/*.rs"]), + name = "proc-macro2_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "proc-macro", @@ -96,6 +103,7 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -122,6 +130,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":proc-macro2_build_script", + actual = ":proc-macro2_bs", tags = ["manual"], ) |