File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ build --features=layering_check
2828build:macos --apple_crosstool_top=@local_config_apple_cc//:toolchain
2929build:macos --crosstool_top=@local_config_apple_cc//:toolchain
3030build:macos --host_crosstool_top=@local_config_apple_cc//:toolchain
31+ build:macos --cxxopt=-std=c++17
32+ build:macos --host_cxxopt=-std=c++17
3133
3234# Java
3335# Always build for Java 8, even with a newer JDK. This ensures that all artifacts we release are
@@ -66,6 +68,8 @@ build --android_platforms=//:android_arm64
6668build:windows --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
6769build:windows --extra_execution_platforms=//bazel/platforms:x64_windows-clang-cl
6870build:windows --features=static_link_msvcrt
71+ build:windows --cxxopt=/std:c++17
72+ build:windows --host_cxxopt=/std:c++17
6973# Required as PATH doubles as the shared library search path on Windows and the
7074# Java agent functionality depends on system-provided shared libraries.
7175test:windows --noincompatible_strict_action_env
You can’t perform that action at this time.
0 commit comments