Files
re2/.bazelrc
Russ Cox f8b5053c29 .bazelrc: ask for C++17 now
Also update README.md to explain to users (and future me).

Also update ci-bazel.yml to drop Python 3.8 and add 3.13.
(Missed this file when updating python.yml.)

Change-Id: Idbad8d392b88c5c38a59d5e0e2a1b5ff438990e6
Reviewed-on: https://code-review.googlesource.com/c/re2/+/63792
Reviewed-by: Alan Donovan <adonovan@google.com>
2025-07-30 17:46:47 -07:00

21 lines
689 B
Plaintext

# Copyright 2022 The RE2 Authors. All Rights Reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Enable layering check features. Useful on Clang only.
build --features=layering_check
# Enable parse headers features. Enforcing that headers are self-contained.
build --features=parse_headers
# Abseil requires C++17 at minimum.
build --enable_platform_specific_config
build:linux --cxxopt=-std=c++17
build:macos --cxxopt=-std=c++17
build:windows --cxxopt=/std:c++17
# Print test logs for failed tests.
test --test_output=errors
# https://bazel.build/configure/best-practices#bazelrc-file
try-import %workspace%/user.bazelrc