Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't register rust_host_tools twice
The bazel-lsp uses `rust_host_tools` to perform some actions: by using: rust_host_tools = use_extension("@rules_rust//rust:extensions.bzl", "rust_host_tools") use_repo(rust_host_tools, "rust_host_tools") See: https://github.com/cameron-martin/bazel-lsp/blob/19b799e528c884be6efeb108ed1840a4edff1330/MODULE.bazel#L14 It started failing after #3148 because rules_rust's MODULE.bazel registers toolchain with the same name: rust_host_tools.host_tools( name = "rust_host_tools", ) See: https://github.com/bazelbuild/rules_rust/blob/aae84e97c73eae2e6654e1a7e1b751d0c1f2ac9e/MODULE.bazel#L70
- Loading branch information