Skip to content

Commit

Permalink
Register cc toolchain from @bazel_tools
Browse files Browse the repository at this point in the history
The one located in rules_cc isn't yet in sync.
  • Loading branch information
meteorcloudy authored Sep 19, 2023
1 parent eef16ef commit 0097505
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ module(

bazel_dep(name = "platforms", version = "0.0.7")

cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure")
use_repo(cc_configure, "local_config_cc_toolchains")

cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc", "local_config_cc_toolchains")
register_toolchains("@local_config_cc_toolchains//:all")

bazel_dep(name = "bazel_skylib", version = "1.3.0", dev_dependency = True)

0 comments on commit 0097505

Please sign in to comment.