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
256 stars 159 forks source link

Only forward nocopts to cc_library if present in kwargs #298

Closed yeswalrus closed 11 months ago

yeswalrus commented 11 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).