diff options
Diffstat (limited to 'proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel')
-rw-r--r-- | proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel b/proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel index 47739785..010c56dc 100644 --- a/proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel +++ b/proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "prettyplease", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -83,12 +87,16 @@ rust_library( ) cargo_build_script( - name = "prettyplease_build_script", - srcs = glob(["**/*.rs"]), + name = "prettyplease_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/**/*", @@ -116,6 +124,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":prettyplease_build_script", + actual = ":prettyplease_bs", tags = ["manual"], ) |