Skip to content

Commit

Permalink
Avoid Win32 MAX_PATH issues by shortening cargo_build_script bin na…
Browse files Browse the repository at this point in the history
…mes (#1006)
  • Loading branch information
UebelAndre committed Nov 4, 2021
1 parent 3cc41db commit e2f0fcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cargo/cargo_build_script.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def cargo_build_script(
binary_tags.append("manual")

rust_binary(
name = name + "_script_",
name = name + "_",
crate_features = crate_features,
version = version,
deps = deps,
Expand All @@ -353,7 +353,7 @@ def cargo_build_script(
)
_build_script_run(
name = name,
script = ":%s_script_" % name,
script = ":{}_".format(name),
crate_features = crate_features,
version = version,
build_script_env = build_script_env,
Expand Down

0 comments on commit e2f0fcc

Please sign in to comment.