From 2f3df6bf47fe253da6fc1358f5fca4e04488e5f5 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 17 Dec 2024 13:46:08 +0100 Subject: [PATCH] Return a provider from a rule instead of a struct (#1200) This is now longer allowed in Bazel 8 and was flipped via `--incompatible_disallow_struct_provider_syntax`. Once merged, please also backport to the v1.1.1-SNAPSHOTS. --- bazel/protobuf.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/protobuf.bzl b/bazel/protobuf.bzl index 67557f64d..08d9d561e 100644 --- a/bazel/protobuf.bzl +++ b/bazel/protobuf.bzl @@ -96,7 +96,7 @@ def _protoc_gen_validate_impl(ctx, lang, protos, out_files, protoc_args, package use_default_shell_env = True, ) - return struct( + return DefaultInfo( files = depset(out_files), )