Open xander-zitara opened 1 year ago
I'm receiving the same error, but mine is complaining explicitly about a target (//router/test:test_route_server_linux
) that has nothing to do with Rust (it's a go target). See my output in this gist.
I'm running this with Bazel 7.1.1. rules_rust is loaded via WORKSPACE (though pretty much everything else I use has moved over to bzlmod).
I have
rust_register_toolchains()
in myWORKSPACE
, and I've also triedregister_toolchains(rust_analyzer_toolchain_repository())
, but trying to runrust_analyzer
likegives this error
Running with the suggested debug argument, it looks like a toolchain is indeed identified (I've removed rejected toolchains from the output):
It would seem to me that the first INFO line here shows bazel does find a toolchain for the given type. Why doesn't
rust_analyzer_aspect
find this? Should I be concerned about some duplicate information being shown in this debug output?