Skip to content

Commit

Permalink
Make @local_config_cc visible as a temporary hack.
Browse files Browse the repository at this point in the history
Change-Id: I1a32d4120327069d22637dcb821431ebb322dbb5
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62451
Reviewed-by: Paul Wankadia <[email protected]>
Reviewed-by: Jeff Bailey <[email protected]>
  • Loading branch information
junyer committed Jan 18, 2024
1 parent bbfad95 commit 264e71e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ bazel_dep(name = "abseil-cpp", version = "20230802.1", repo_name = "com_google_a
bazel_dep(name = "rules_python", version = "0.28.0")
bazel_dep(name = "pybind11_bazel", version = "2.11.1.bzl.1")

# This is a temporary hack for `x64_x86_windows`.
# TODO(junyer): Remove whenever no longer needed.
cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc")

python_configure = use_extension("@pybind11_bazel//:python_configure.bzl", "extension")
python_configure.toolchain(python_version = "3") # ignored when non-root module
use_repo(python_configure, "local_config_python", "pybind11")
Expand Down

0 comments on commit 264e71e

Please sign in to comment.