Skip to content

Commit d39e0f5

Browse files
committed
Enforce c++17
1 parent 6a379ea commit d39e0f5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

compiler/.bazelrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Inherit the common 'unix' flags for both macOS and Linux
2+
build:linux --cxxopt=-std=c++17
3+
build:linux --host_cxxopt=-std=c++17
4+
5+
build:macos --cxxopt=-std=c++17
6+
build:macos --host_cxxopt=-std=c++17
7+
8+
# Windows flags remain as they are
9+
build:windows --cxxopt=/std:c++17
10+
build:windows --host_cxxopt=/std:c++17
11+

0 commit comments

Comments
 (0)