Skip to content

Commit a88b9a2

Browse files
committed
Use rootpath for wrapper root for determinism
1 parent f197ab8 commit a88b9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/upstream_wrapper/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ALL_TOOLS = [target for target in TOOLS.values()]
2121
data = ALL_TOOLS if tool_name == "cargo" else [target],
2222
edition = "2018",
2323
rustc_env = {
24-
"WRAPPED_TOOL_EXECPATH": "$(execpath {})".format(target),
24+
"WRAPPED_TOOL_EXECPATH": "$(rootpath {})".format(target),
2525
"WRAPPED_TOOL_NAME": tool_name,
2626
"WRAPPED_TOOL_TARGET": "$(rlocationpath {})".format(target),
2727
},

0 commit comments

Comments
 (0)