From 0001ddc7ec1fecb0c7b2c602d91ffdd09418fd9b Mon Sep 17 00:00:00 2001 From: Austin Schuh Date: Wed, 14 Jan 2026 20:15:42 -0800 Subject: [PATCH] [bazel] Switch over to /DEBUG:FULL unconditionally (#8563) This is faster everywhere. Fixes #8517 --- shared/bazel/patches/rules_cc_windows.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/shared/bazel/patches/rules_cc_windows.patch b/shared/bazel/patches/rules_cc_windows.patch index 5833505937..29d83eca11 100644 --- a/shared/bazel/patches/rules_cc_windows.patch +++ b/shared/bazel/patches/rules_cc_windows.patch @@ -521,3 +521,16 @@ index 5d0d40f..c6e7f94 100644 }, provides = [CcToolchainConfigInfo], ) +diff --git a/cc/private/toolchain/windows_cc_configure.bzl b/cc/private/toolchain/windows_cc_configure.bzl +index ad6cb86..9a39485 100644 +--- a/cc/private/toolchain/windows_cc_configure.bzl ++++ b/cc/private/toolchain/windows_cc_configure.bzl +@@ -756,7 +756,7 @@ Fix this by installing the English language pack for the Visual Studio installat + "%{msvc_dumpbin_path_" + target_arch + "}": build_tools["DUMPBIN"], + "%{msvc_parse_showincludes_" + target_arch + "}": repr(support_parse_showincludes), + "%{dbg_mode_debug_flag_" + target_arch + "}": "/DEBUG:FULL" if support_debug_fastlink else "/DEBUG", +- "%{fastbuild_mode_debug_flag_" + target_arch + "}": "/DEBUG:FASTLINK" if support_debug_fastlink else "/DEBUG", ++ "%{fastbuild_mode_debug_flag_" + target_arch + "}": "/DEBUG:FULL" if support_debug_fastlink else "/DEBUG", + } + return msvc_vars +