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

Only forward nocopts to cc_library if present in kwargs #298

Closed yeswalrus closed 8 months ago

yeswalrus commented 8 months ago

Modifies the cc_library call to only forward arguments if they're present in kwargs. This is vital for bazel 7.0.0 compatibility since the nocopts attribute is removed (it's actually been deprecated since 2019 but the documentation was never updated).