Skip to content

Commit

Permalink
Directly exposing functions in toolchain_config_utils.bzl
Browse files Browse the repository at this point in the history
setup_vc_env_vars should accepts more parameters than the wrapper previously allowed.

PiperOrigin-RevId: 683192260
Change-Id: Ie6063e0706640856e0f4c9dce3e1f4e8fe1ec9e9
  • Loading branch information
meteorcloudy authored and copybara-github committed Oct 7, 2024
1 parent 19a278e commit b96ca29
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions cc/toolchains/toolchain_config_utils.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ load("//cc/private/toolchain:windows_cc_configure.bzl", _find_vc_path = "find_vc

MSVC_ENVVARS = _MSVC_ENVVARS

def find_vc_path(repository_ctx):
return _find_vc_path(repository_ctx)

def setup_vc_env_vars(repository_ctx):
return _setup_vc_env_vars(repository_ctx)

def escape_string(string):
return _escape_string(string)
find_vc_path = _find_vc_path
setup_vc_env_vars = _setup_vc_env_vars
escape_string = _escape_string

0 comments on commit b96ca29

Please sign in to comment.