From 37bb467f860f5d51062364a96a18a826c7ef6866 Mon Sep 17 00:00:00 2001 From: Dmitry Mikhin Date: Mon, 19 Aug 2024 22:20:48 +0300 Subject: [PATCH] Fix for #1239 This fix following error: The repository '@@[unknown repo 'rules_cc' requested from @@rules_foreign_cc~~tools~glib_dev]' could not be resolved: No repository visible as '@rules_cc' from repository '@@rules_foreign_cc~~tools~glib_dev'. and referenced by '@@rules_foreign_cc~//toolchains/private:pkgconfig_tool_msvc_build_' --- MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index 61b07e7f2..28a009c8f 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -15,7 +15,7 @@ bazel_dep(name = "rules_python", version = "0.23.1") bazel_dep(name = "gazelle", version = "0.34.0", dev_dependency = True, repo_name = "bazel_gazelle") bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True) bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc") -bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True) +bazel_dep(name = "rules_cc", version = "0.0.9") python = use_extension("@rules_python//python/extensions:python.bzl", "python") python.toolchain(python_version = "3.9")