bazel-contrib / rules_fuzzing

Bazel Starlark extensions for defining fuzz tests in Bazel projects
Apache License 2.0
87 stars 20 forks source link

Update abseil-cpp to fix build with Clang >=16 #237

Closed robinlinden closed 1 year ago

robinlinden commented 1 year ago

NOTE: abseil-cpp started requiring C++14 in the 2023 January LTS release, so if this is merged, users on old compilers may have to override abseil-cpp to an older version.

This fixes a build error in newer Clang caused by a feature=layering_check violation:

In file included from external/com_google_absl/absl/debugging/stacktrace.cc:46:
external/com_google_absl/absl/debugging/internal/stacktrace_x86-inl.inc:38:10: error: module @com_google_absl//absl/debugging:stacktrace does not depend on a module exporting 'absl/base/internal/raw_logging.h'
         ^
1 error generated.

This commit in abseil-cpp fixing the error is https://github.com/abseil/abseil-cpp/commit/f753eb27d03c9900aa65c4568c0420334cd28aab.