From 22068f4235c10595bceddb0e2230ae74a03a2ae5 Mon Sep 17 00:00:00 2001 From: Knut Eirik Leira Hjelle Date: Thu, 22 Aug 2024 13:38:39 +0200 Subject: [PATCH] Add _jdk label as toolchain so execution platform is handled correctly --- internal/openapi_generator.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/openapi_generator.bzl b/internal/openapi_generator.bzl index cbc0e66..f3d65b6 100644 --- a/internal/openapi_generator.bzl +++ b/internal/openapi_generator.bzl @@ -124,6 +124,7 @@ def _impl(ctx): ), outputs = [declared_dir], tools = ctx.files._jdk, + toolchain = ctx.attr._jdk.label, ) srcs = declared_dir.path