Skip to content

Commit

Permalink
Add a bazel_feature to gate the grep_includes parameter (#17)
Browse files Browse the repository at this point in the history
* Add a bazel_feature to gate the grep_includes parameter

* Rename attribute

* Empty
  • Loading branch information
scentini authored Jul 31, 2023
1 parent 9da382d commit 4c01421
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions features.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ _cc = struct(
# on find_cpp_toolchain are available (#17308).
# Note: While the target and parameter are available in 6.1.0, they only take effect in Bazel 7.
find_cpp_toolchain_has_mandatory_param = ge("6.1.0"),
# Note: In Bazel 6.3 the `grep_includes` parameter is optional and a no-op in the cc_common API
# In future Bazel versions it will be removed altogether.
grep_includes_is_optional = ge("6.3.0"),
)

_external_deps = struct(
Expand Down

0 comments on commit 4c01421

Please sign in to comment.