From be48fec64c1cf6ed5937fbe5b496c9cdebe4a03d Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 4 Mar 2026 17:00:39 +0100 Subject: [PATCH] Register DUMPBIN on Windows when using clang-cl --- cc/private/toolchain/windows_cc_configure.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/cc/private/toolchain/windows_cc_configure.bzl b/cc/private/toolchain/windows_cc_configure.bzl index ad6cb86da..c5d841973 100644 --- a/cc/private/toolchain/windows_cc_configure.bzl +++ b/cc/private/toolchain/windows_cc_configure.bzl @@ -718,6 +718,7 @@ def _get_msvc_vars(repository_ctx, paths, target_arch = "x64", msvc_vars_x64 = N build_tools["LIB"] = find_llvm_tool(repository_ctx, llvm_path, "llvm-lib.exe") if not build_tools["LIB"]: build_tools["LIB"] = find_msvc_tool(repository_ctx, vc_path, "lib.exe", "x64") + build_tools["DUMPBIN"] = find_msvc_tool(repository_ctx, vc_path, "dumpbin.exe", "x64") else: build_tools = _find_msvc_tools(repository_ctx, vc_path, target_arch)