Skip to content

Commit

Permalink
Support more worker types for scaladoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jjudd committed Aug 26, 2024
1 parent 40ee856 commit f5ab501
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rules/scala/private/doc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ def scaladoc_implementation(ctx):
ctx.actions.run(
arguments = [args],
executable = ctx.attr._runner.files_to_run.executable,
execution_requirements = _resolve_execution_reqs(ctx, {"supports-workers": "1"}),
execution_requirements = _resolve_execution_reqs(
ctx,
{
"supports-multiplex-workers": "1",
"supports-workers": "1",
"supports-multiplex-sandboxing": "1",
},
),
input_manifests = input_manifests,
inputs = depset(
src_jars + srcs + [zinc_configuration.compiler_bridge],
Expand Down

0 comments on commit f5ab501

Please sign in to comment.