From 7fdd0566709e28ba00c97d36080da2e755c89701 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Fri, 5 Jul 2024 12:26:08 -0700 Subject: [PATCH] fix: add params to runfiles --- rules/private/bzlws_tool_cc_binary.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/private/bzlws_tool_cc_binary.bzl b/rules/private/bzlws_tool_cc_binary.bzl index a4b8f44..2b2e585 100644 --- a/rules/private/bzlws_tool_cc_binary.bzl +++ b/rules/private/bzlws_tool_cc_binary.bzl @@ -1,7 +1,7 @@ +load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES") load("@bzlws//rules/private:bzlws_info.bzl", "BzlwsInfo") load("@bzlws//rules/private:bzlws_util.bzl", "bzlws_get_full_label_string") load("@rules_cc//cc:find_cc_toolchain.bzl", "find_cc_toolchain", "use_cc_toolchain") -load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES") def _bzlws_tool_cc_binary(ctx): name = ctx.attr.name @@ -99,7 +99,7 @@ def _bzlws_tool_cc_binary(ctx): return DefaultInfo( files = depset([output.executable]), - default_runfiles = ctx.runfiles(ctx.files.srcs + [output.executable]), + default_runfiles = ctx.runfiles(ctx.files.srcs + [output.executable, params_file]), executable = output.executable, )