mirror of https://github.com/bazelbuild/rules_cc
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:
parent
807a87190a
commit
74f87ea2ba
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue