diff options
Diffstat (limited to 'proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel')
-rw-r--r-- | proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel b/proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel index 038feda6..bdf4abdf 100644 --- a/proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel +++ b/proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "axum", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -102,12 +106,16 @@ rust_library( ) cargo_build_script( - name = "axum_build_script", - srcs = glob(["**/*.rs"]), + name = "axum_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/**/*", @@ -137,6 +145,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":axum_build_script", + actual = ":axum_bs", tags = ["manual"], ) |