From d3b8be30b1721bd397aed0aa126cc8d329a02b9c Mon Sep 17 00:00:00 2001 From: Pras Velagapudi Date: Fri, 10 Jun 2022 08:49:11 -0400 Subject: [PATCH] Add missing ref to `out` --- rules/native_binary.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/native_binary.bzl b/rules/native_binary.bzl index b6c6cd78..25f6a251 100644 --- a/rules/native_binary.bzl +++ b/rules/native_binary.bzl @@ -25,7 +25,7 @@ def _impl_rule(ctx): out_file = ctx.attr.out else: out_file = ctx.name - ctx.actions.declare_file(out_file) + out = ctx.actions.declare_file(out_file) ctx.actions.symlink( target_file = ctx.executable.src,