From f5ab5017a619c94de329317fcdfbf7840e1d39c7 Mon Sep 17 00:00:00 2001 From: jjudd Date: Mon, 26 Aug 2024 13:07:41 -0600 Subject: [PATCH] Support more worker types for scaladoc --- rules/scala/private/doc.bzl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rules/scala/private/doc.bzl b/rules/scala/private/doc.bzl index ba03589b..ab562e9e 100644 --- a/rules/scala/private/doc.bzl +++ b/rules/scala/private/doc.bzl @@ -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],