Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade google/benchmark to use nanobind-bazel v2.0.0
This enables binding extension builds with nanobind@v2. Due to some backwards-incompatible changes in the treatment of enums, `Counter::Flags` (a flag-based enum) needs to be explicitly marked as arithmetic; setting flags is done as before with the logical "or" operator (now bound like any other class method as `__or__()`, the Python logical or operator slot). The bindings changes were suggested by @hawkinsp in the corresponding issue on the repo, see google#1790.
- Loading branch information