From 1a716d6b6993565bc4303de0637e777de8232245 Mon Sep 17 00:00:00 2001 From: Sandy Zhang Date: Fri, 8 Nov 2024 08:24:55 -0800 Subject: [PATCH] Update BCR presubmit to use C++17 This reflects the new minimum as of v30 per https://engdoc.corp.google.com/eng/doc/devguide/proto/news/2024-10-02.md#drop-cpp-14 PiperOrigin-RevId: 694507579 --- .bcr/presubmit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index bdb24a1781..8c30ec1c8c 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -8,8 +8,8 @@ tasks: platform: ${{ platform }} bazel: ${{ bazel }} build_flags: - - '--host_cxxopt=-std=c++14' - - '--cxxopt=-std=c++14' + - '--host_cxxopt=-std=c++17' + - '--cxxopt=-std=c++17' build_targets: - '@protobuf//:protobuf' - '@protobuf//:protobuf_lite' @@ -30,7 +30,7 @@ bcr_test_module: platform: ${{ platform }} bazel: ${{ bazel }} build_flags: - - '--host_cxxopt=-std=c++14' - - '--cxxopt=-std=c++14' + - '--host_cxxopt=-std=c++17' + - '--cxxopt=-std=c++17' build_targets: - "//..."