From 59005acd31627eed6b7468712c3198f7d80825e8 Mon Sep 17 00:00:00 2001 From: Aaron Sky Date: Fri, 14 Mar 2025 19:50:17 -0400 Subject: [PATCH] Update C++ standard default to 17 --- crosstool/cc_toolchain_config.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crosstool/cc_toolchain_config.bzl b/crosstool/cc_toolchain_config.bzl index e7b2169..d22d357 100644 --- a/crosstool/cc_toolchain_config.bzl +++ b/crosstool/cc_toolchain_config.bzl @@ -447,7 +447,7 @@ please file an issue at https://github.com/bazelbuild/apple_support/issues/new "-target", target_system_name, "-stdlib=libc++", - "-std=gnu++14", + "-std=gnu++17", ], ), ], @@ -2084,7 +2084,7 @@ please file an issue at https://github.com/bazelbuild/apple_support/issues/new ACTION_NAMES.lto_backend, ACTION_NAMES.clif_match, ], - flag_groups = [flag_group(flags = ["-std=c++14"])], + flag_groups = [flag_group(flags = ["-std=c++17"])], ), ], )