From f82eb1082dc5858231ab937d4cec4698678e5f6e Mon Sep 17 00:00:00 2001 From: Lukasz Okraszewski Date: Mon, 20 May 2024 15:11:09 +0100 Subject: [PATCH] fix(info): make var matches info This commit updates the make variable exported by `toolchain_info` to match the `ToolchainInfo` provider. --- toolchain/info/rule.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/info/rule.bzl b/toolchain/info/rule.bzl index 560e87a..d637e94 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]) -- GitLab