Skip to content

Commit

Permalink
fix: add params to runfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Jul 5, 2024
1 parent c78be33 commit 7fdd056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/private/bzlws_tool_cc_binary.bzl
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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,
)

Expand Down

0 comments on commit 7fdd056

Please sign in to comment.