From ec3cc7577213c992e0aef7eda6f5eacea7f1874f Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Wed, 10 Dec 2025 13:58:33 +0000 Subject: [PATCH] Fix build with Bazel 9 --- .bazelrc | 2 +- BUILD.bazel | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index 554440cf..53485cb9 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1 +1 @@ -build --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 +build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 diff --git a/BUILD.bazel b/BUILD.bazel index aa323838..6b6f37e9 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@com_google_protobuf//bazel:java_lite_proto_library.bzl", "java_lite_proto_library") +load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library") load("@rules_proto//proto:defs.bzl", "proto_library") package(default_visibility = [