rules-proto-grpc / rules_proto_grpc

Bazel rules for building Protobuf and gRPC code and libraries from proto_library targets
https://rules-proto-grpc.com
Apache License 2.0
249 stars 156 forks source link

Avoid using undeclared parameter #303

Closed maghoff closed 6 months ago

maghoff commented 8 months ago

Bazel 7 gives an error for this code.

It seems like a half-implemented feature, where the user is supposed to be able to specify the root filename for the module (typically, and by default, mod.rs), but the mod_file parameter never gets read. It seems like a bug that somebody may want to fix.

In the meantime we can remove this argument to make the rules work with bazel 7 without changing the semantics.