diff options
Diffstat (limited to 'proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel')
-rw-r--r-- | proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel index 87e29bac..7041019c 100644 --- a/proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel +++ b/proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "tokio", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -272,8 +276,11 @@ rust_library( ) cargo_build_script( - name = "tokio_build_script", - srcs = glob(["**/*.rs"]), + name = "tokio_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "bytes", "default", @@ -312,6 +319,7 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -341,6 +349,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":tokio_build_script", + actual = ":tokio_bs", tags = ["manual"], ) |