We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e02b5 commit ca7f1b1Copy full SHA for ca7f1b1
ecsact/private/ecsact_binary.bzl
@@ -80,8 +80,8 @@ def _ecsact_binary_impl(ctx):
80
81
args.add("--compiler_config", compiler_config_file)
82
83
- if len(ctx.files.recipes) > 1:
84
- fail("Only 1 recipe is allowed at this time")
+ if ctx.attr.allow_unresolved_imports:
+ args.add("--allow-unresolved-imports")
85
86
inputs.extend(ctx.files.srcs)
87
inputs.extend(ctx.files.recipes)
@@ -161,6 +161,10 @@ _ecsact_binary = rule(
161
"linkopts": attr.string_list(
162
mandatory = False,
163
),
164
+ "allow_unresolved_imports": attr.bool(
165
+ mandatory = False,
166
+ default = False,
167
+ ),
168
},
169
toolchains = ["//ecsact:toolchain_type"] + use_cc_toolchain(),
170
fragments = ["cpp"],
0 commit comments