Skip to content

Commit

Permalink
Update .bazelrc to use C++ 17
Browse files Browse the repository at this point in the history
This is in preparation for moving upb into the protobuf repo. Upb requires C++
17. Protobuf supports C++ 14, and our non-upb CI tests will keep using C++ 14
to ensure that it still works. Our Bazel CI runs use the bazelrc files in the
ci/ directory, so these runs should be unaffected by this change.

PiperOrigin-RevId: 555223181
  • Loading branch information
acozzette authored and Copybara-Service committed Aug 9, 2023
1 parent c15655b commit d99134f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build --cxxopt=-std=c++14 --host_cxxopt=-std=c++14
build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17

build:dbg --compilation_mode=dbg

Expand Down

0 comments on commit d99134f

Please sign in to comment.