From 1fc81c275e973a158d799b3211aa2387df6f7818 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:00:56 +0100 Subject: [PATCH] bazel: depset -> list To comply with some breaking changes in rules_go v0.51, we explicitly need to type-cast the depsets to lists here. --- bazel/ci/go_bin_for_host.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/ci/go_bin_for_host.bzl b/bazel/ci/go_bin_for_host.bzl index 97c91f366..29721b2e2 100644 --- a/bazel/ci/go_bin_for_host.bzl +++ b/bazel/ci/go_bin_for_host.bzl @@ -14,7 +14,7 @@ def _ensure_target_cfg(ctx): def _go_bin_for_host_impl(ctx): _ensure_target_cfg(ctx) sdk = ctx.toolchains[GO_TOOLCHAIN].sdk - sdk_files = ctx.runfiles([sdk.go] + sdk.headers + sdk.libs + sdk.srcs + sdk.tools) + sdk_files = ctx.runfiles([sdk.go] + sdk.headers.to_list() + sdk.libs.to_list() + sdk.srcs.to_list() + sdk.tools.to_list()) return [ DefaultInfo( files = depset([sdk.go]),