Skip to content

Commit e2c3dc0

Browse files
committed
fix: include files in rb_binary DefaultInfo
run_binary() uses files from DefaultInfo to lay out the tree of dependencies for executable. This was accidentally broken in 5008f8a.
1 parent 951ffd4 commit e2c3dc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ruby/private/binary.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ def rb_binary_impl(ctx):
191191
return [
192192
DefaultInfo(
193193
executable = script,
194+
files = depset(transitive = [transitive_srcs, depset(tools, transitive = [transitive_data])]),
194195
runfiles = runfiles,
195196
),
196197
RubyFilesInfo(

0 commit comments

Comments
 (0)