diff --git a/foreign_cc/private/cc_toolchain_util.bzl b/foreign_cc/private/cc_toolchain_util.bzl index 9b3397475..9e6000d88 100644 --- a/foreign_cc/private/cc_toolchain_util.bzl +++ b/foreign_cc/private/cc_toolchain_util.bzl @@ -21,7 +21,6 @@ CxxToolsInfo = provider( cxx = "C++ compiler", cxx_linker_static = "C++ linker to link static library", cxx_linker_executable = "C++ linker to link executable", - ld = "linker", ), ) @@ -217,7 +216,6 @@ def get_tools_info(ctx): feature_configuration = feature_configuration, action_name = ACTION_NAMES.cpp_link_executable, ), - ld = cc_toolchain.ld_executable, ) def get_flags_info(ctx, link_output_file = None): diff --git a/foreign_cc/private/make_env_vars.bzl b/foreign_cc/private/make_env_vars.bzl index b5177c745..0bb227b42 100644 --- a/foreign_cc/private/make_env_vars.bzl +++ b/foreign_cc/private/make_env_vars.bzl @@ -90,7 +90,6 @@ _MAKE_TOOLS = { "AR": "cxx_linker_static", "CC": "cc", "CXX": "cxx", - "LD": "ld", # missing: cxx_linker_executable }