Skip to content

Commit

Permalink
Remove nocopts from cc_nanopb_proto_library
Browse files Browse the repository at this point in the history
With Bazel 7.0.0, nocopts has been removed and is no longer supported.
The correct way to handle this is to subtract features using the
`features` attribute (see bazelbuild/bazel#8706).
  • Loading branch information
armandomontanez committed Nov 8, 2023
1 parent 839156b commit 98e8a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/bazel/nanopb_cc_proto_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ def cc_nanopb_proto_library(name, **kwargs): # buildifier: disable=function-doc
alwayslink = kwargs.get("alwayslink"),
copts = kwargs.get("copts"),
defines = kwargs.get("defines"),
features = kwargs.get("features"),
include_prefix = kwargs.get("include_prefix"),
linkopts = kwargs.get("linkopts"),
linkstatic = kwargs.get("linkstatic"),
local_defines = kwargs.get("local_defines"),
nocopts = kwargs.get("nocopts"),
strip_include_prefix = kwargs.get("strip_include_prefix"),
visibility = kwargs.get("visibility"),
tags = kwargs.get("tags"),
Expand Down

0 comments on commit 98e8a86

Please sign in to comment.