Directly exposing functions in toolchain_config_utils.bzl

setup_vc_env_vars should accepts more parameters than the wrapper previously allowed.

PiperOrigin-RevId: 683192260
Change-Id: Ie6063e0706640856e0f4c9dce3e1f4e8fe1ec9e9
This commit is contained in:
Googler 2024-10-07 08:23:48 -07:00 committed by Copybara-Service
parent 19a278e626
commit b96ca29763
1 changed files with 3 additions and 8 deletions

View File

@ -19,11 +19,6 @@ load("//cc/private/toolchain:windows_cc_configure.bzl", _find_vc_path = "find_vc
MSVC_ENVVARS = _MSVC_ENVVARS MSVC_ENVVARS = _MSVC_ENVVARS
def find_vc_path(repository_ctx): find_vc_path = _find_vc_path
return _find_vc_path(repository_ctx) setup_vc_env_vars = _setup_vc_env_vars
escape_string = _escape_string
def setup_vc_env_vars(repository_ctx):
return _setup_vc_env_vars(repository_ctx)
def escape_string(string):
return _escape_string(string)