diff --git a/toolchain/info/rule.bzl b/toolchain/info/rule.bzl index 560e87a334bb862a019d754953d8d4829b6df893..d637e9456d95eaa9db471e7c75013dda815f5d6b 100644 --- a/toolchain/info/rule.bzl +++ b/toolchain/info/rule.bzl @@ -73,7 +73,7 @@ def implementation(ctx): ) variables = platform_common.TemplateVariableInfo({ - variable: executable.path, + variable: ctx.executable.target.path, }) runfiles = ctx.runfiles([executable, ctx.executable.target])