Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyawk committed Dec 21, 2024
1 parent 7d1cd09 commit 0baf8dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lang/cc/build_error.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,8 @@ def _create_test_impl(ctx):
A list of providers.
"""
cc_build_error_info = ctx.attr.cc_build_error[CcBuildErrorInfo]
executable = ctx.actions.declare_file(ctx.label.name + "/" + ctx.attr._dummy_test.basename)
dummy_test = get_executable_file(ctx.attr._dummy_test)
executable = ctx.actions.declare_file(ctx.label.name + "/" + dummy_test.basename)
ctx.actions.run_shell(
outputs = [executable],
inputs = cc_build_error_info.markers + [ctx.attr._dummy_test],
Expand Down

0 comments on commit 0baf8dd

Please sign in to comment.