treewide: migrate external rules to bzlmod
This is a huge one as it was very annoying to migrate them separately. This migrates rules_go, gazelle, rust_rust, protobuf to bzlmod
Change-Id: If39591d43ed4c2afa2979ee5915e9d1cfa1574a9
Reviewed-on: https://review.monogon.dev/c/monogon/+/3234
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/build/rust/BUILD.bazel b/build/rust/BUILD.bazel
index ffc1682..7459c33 100644
--- a/build/rust/BUILD.bazel
+++ b/build/rust/BUILD.bazel
@@ -14,7 +14,7 @@
prost_plugin = "@crate_index//:protoc-gen-prost__protoc-gen-prost",
prost_runtime = ":prost_runtime_efi",
prost_types = "@crate_index_efi//:prost-types",
- proto_compiler = "@com_google_protobuf//:protoc",
+ proto_compiler = "@protobuf//:protoc",
# This defaults to a non-empty value, which triggers an error that not all
# tonic flags are set. We do not want tonic, so explicitly set this to
# an empty string.