We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf03f2 commit 9d3303dCopy full SHA for 9d3303d
cargo/cargo_build_script.bzl
@@ -336,14 +336,18 @@ def cargo_build_script(
336
if "CARGO_CRATE_NAME" not in rustc_env:
337
rustc_env["CARGO_CRATE_NAME"] = name_to_crate_name(_name_to_pkg_name(name))
338
339
+ binary_tags = [tag for tag in tags or []]
340
+ if "manual" not in binary_tags:
341
+ binary_tags.append("manual")
342
+
343
rust_binary(
344
name = name + "_script_",
345
crate_features = crate_features,
346
version = version,
347
deps = deps,
348
data = data,
349
rustc_env = rustc_env,
- tags = ["manual"],
350
+ tags = binary_tags,
351
**kwargs
352
)
353
_build_script_run(
0 commit comments