Skip to content

Commit 98c040e

Browse files
authored
Add additional_compiler_inputs to inputs of compile (#32)
That's what I get for not writing a test
1 parent fb9070d commit 98c040e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mojo/private/mojo_binary_test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _mojo_binary_test_implementation(ctx, *, shared_library = False):
116116
ctx.actions.run(
117117
executable = mojo_toolchain.mojo,
118118
tools = mojo_toolchain.all_tools,
119-
inputs = depset(ctx.files.srcs, transitive = [transitive_mojopkgs]),
119+
inputs = depset(ctx.files.srcs + ctx.files.additional_compiler_inputs, transitive = [transitive_mojopkgs]),
120120
outputs = [object_file],
121121
arguments = [args],
122122
mnemonic = "MojoCompile",

0 commit comments

Comments
 (0)