mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 07:25:51 -04:00
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.
This commit is contained in:
parent
b6630eb7a7
commit
1fc81c275e
@ -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]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user