2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-12-04 05:03:18 +00:00

Expose get_cpu_value in toolchain_config_utils.bzl

Copybara Import from https://github.com/bazelbuild/rules_cc/pull/283

BEGIN_PUBLIC
Expose get_cpu_value in toolchain_config_utils.bzl (#283)

Addressing https://github.com/bazelbuild/bazel-central-registry/issues/3260#issuecomment-2505731130

Closes #283
END_PUBLIC

COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_cc/pull/283 from bazelbuild:meteorcloudy-patch-5 8d7f986ebc
PiperOrigin-RevId: 700977422
Change-Id: I979446d5d79d8da465ec538632326d6d2c6932f7
This commit is contained in:
Yun Peng 2024-11-28 03:58:39 -08:00 committed by Copybara-Service
parent 8395ec0172
commit 5be90a4e04

View file

@ -14,7 +14,7 @@
"""Exposing some helper functions for configure cc toolchains."""
load("//cc/private/toolchain:cc_configure.bzl", _MSVC_ENVVARS = "MSVC_ENVVARS")
load("//cc/private/toolchain:lib_cc_configure.bzl", _escape_string = "escape_string")
load("//cc/private/toolchain:lib_cc_configure.bzl", _escape_string = "escape_string", _get_cpu_value = "get_cpu_value")
load("//cc/private/toolchain:windows_cc_configure.bzl", _find_vc_path = "find_vc_path", _setup_vc_env_vars = "setup_vc_env_vars")
MSVC_ENVVARS = _MSVC_ENVVARS
@ -22,3 +22,4 @@ MSVC_ENVVARS = _MSVC_ENVVARS
find_vc_path = _find_vc_path
setup_vc_env_vars = _setup_vc_env_vars
escape_string = _escape_string
get_cpu_value = _get_cpu_value