diff options
Diffstat (limited to 'bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel')
-rw-r--r-- | bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel b/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel index 90f885d4..f21420ff 100644 --- a/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel +++ b/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel @@ -13,9 +13,13 @@ package(default_visibility = ["//visibility:public"]) rust_library( name = "winapi", - srcs = glob(["**/*.rs"]), + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), compile_data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -95,8 +99,11 @@ rust_library( ) cargo_build_script( - name = "winapi_build_script", - srcs = glob(["**/*.rs"]), + name = "winapi_bs", + srcs = glob( + include = ["**/*.rs"], + allow_empty = False, + ), crate_features = [ "consoleapi", "errhandlingapi", @@ -115,6 +122,7 @@ cargo_build_script( crate_root = "build.rs", data = glob( include = ["**"], + allow_empty = True, exclude = [ "**/* *", ".tmp_git_root/**/*", @@ -141,6 +149,6 @@ cargo_build_script( alias( name = "build_script_build", - actual = ":winapi_build_script", + actual = ":winapi_bs", tags = ["manual"], ) |