You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Bazel 8.0.1 on windows rules_cc fails with following error Error: key "DUMPBIN" not found in dictionary.
ERROR ../rules_cc+/cc/private/toolchain/windows_cc_configure.bzl:754:64: An error occurred during the fetch of repository 'rules_cc++cc_configure_extension+local_config_cc':
Traceback (most recent call last):
File ".../rules_cc+/cc/private/toolchain/cc_configure.bzl", line 89, column 36, in cc_autoconf_impl
configure_windows_toolchain(repository_ctx)
File ".../rules_cc+/cc/private/toolchain/windows_cc_configure.bzl", line 881, column 35, in configure_windows_toolchain
msvc_vars_x64 = _get_msvc_vars(repository_ctx, paths, "x64")
File ".../rules_cc+/cc/private/toolchain/windows_cc_configure.bzl", line 754, column 64, in _get_msvc_vars
"%{msvc_dumpbin_path_" + target_arch + "}": build_tools["DUMPBIN"],
Looks like build_tools["DUMPBIN"] = find_msvc_tool(repository_ctx, vc_path, "dumpbin.exe", "x64") is missing from _get_msvc_vars . Adding the missing line seems to fix the issue.
The text was updated successfully, but these errors were encountered:
Using Bazel 8.0.1 on windows rules_cc fails with following error
Error: key "DUMPBIN" not found in dictionary
.Looks like
build_tools["DUMPBIN"] = find_msvc_tool(repository_ctx, vc_path, "dumpbin.exe", "x64")
is missing from_get_msvc_vars
. Adding the missing line seems to fix the issue.The text was updated successfully, but these errors were encountered: