From bbf933bdc079af0986defffa9427b25be10654b0 Mon Sep 17 00:00:00 2001 From: maleo Date: Sun, 15 Dec 2024 11:01:54 +0000 Subject: [PATCH] Always return a provider from a rule instead of a struct This is now longer allowed in Bazel 8 and was flipped via --incompatible_disallow_struct_provider_syntax. --- 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), )