Skip to content

Commit 644e5e2

Browse files
committed
Compile with C++20
Signed-off-by: Michael Warres <[email protected]>
1 parent 5753265 commit 644e5e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.bazelrc

+4-4
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ build:zig-cc-linux-aarch64 --test_env=QEMU_LD_PREFIX=/usr/aarch64-linux-gnu/
8080

8181
build --enable_platform_specific_config
8282

83-
# Use C++17.
84-
build:linux --cxxopt=-std=c++17
85-
build:macos --cxxopt=-std=c++17
86-
build:windows --cxxopt="/std:c++17"
83+
# Use C++20.
84+
build:linux --cxxopt=-std=c++20
85+
build:macos --cxxopt=-std=c++20
86+
build:windows --cxxopt="/std:c++20"
8787

8888
# Enable symlinks and runfiles on Windows (enabled by default on other platforms).
8989
startup --windows_enable_symlinks

0 commit comments

Comments
 (0)