diff options
Diffstat (limited to 'wasm_bindgen/3rdparty/crates/BUILD.rustls-0.21.8.bazel')
-rw-r--r-- | wasm_bindgen/3rdparty/crates/BUILD.rustls-0.21.8.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/wasm_bindgen/3rdparty/crates/BUILD.rustls-0.21.8.bazel b/wasm_bindgen/3rdparty/crates/BUILD.rustls-0.21.8.bazel index 503cc4e8..2e64e32e 100644 --- a/wasm_bindgen/3rdparty/crates/BUILD.rustls-0.21.8.bazel +++ b/wasm_bindgen/3rdparty/crates/BUILD.rustls-0.21.8.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "rustls", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -91,8 +95,11 @@ rust_library( ) cargo_build_script( - name = "rustls_build_script", - srcs = glob(["**/*.rs"]), + name = "rustls_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "default", "log", @@ -103,6 +110,7 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -132,6 +140,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":rustls_build_script", + actual = ":rustls_bs", tags = ["manual"], ) |