Fix MODULE.bazel file

The next release for rules_cc would be 0.0.3, and migrate to new toolchain registration API.
This commit is contained in:
Yun Peng 2022-09-19 14:00:24 +02:00 committed by GitHub
parent 807a87190a
commit 74f87ea2ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,7 @@
module( module(
name = "rules_cc", name = "rules_cc",
compatibility_level = 1, compatibility_level = 1,
toolchains_to_register = ["@local_config_cc_toolchains//:all"], version = "0.0.3",
version = "0.0.1",
) )
bazel_dep(name = "bazel_skylib", version = "1.0.3") bazel_dep(name = "bazel_skylib", version = "1.0.3")
@ -11,3 +10,4 @@ bazel_dep(name = "platforms", version = "0.0.4")
cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure") cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure")
use_repo(cc_configure, "local_config_cc_toolchains") use_repo(cc_configure, "local_config_cc_toolchains")
register_toolchains("@local_config_cc_toolchains//:all")