rust-lang/vscode-rust

rust-analyzer not available on arm64 mac

glandium opened this issue · 3 comments

After going to the extension settings, and switching the rust client engine to rust-analyzer, when opening a rust file, I see several notifications:

Couldn't start client Rust Analyzer
Unfortunately we don't ship binaries for your platform

That last one actually appears twice.

The interesting thing is that expanding those, they say "If you feel that your platform should be supported, please create an issue about that here and we will consider it", with "here" being a link to the rust-analyzer repo's issues... but here's the thing... rust-analyzer has had binaries for arm64 mac since https://github.com/rust-analyzer/rust-analyzer/releases/tag/2020-12-28

Please use the stand-alone rust-analyzer extension, the integration here is currently unmaintained.

I don't remember where I read it, but I was led to believe that this extension + rust-analyzer was the endgame (that's why I gave it a try). Did that change?

That's still the plan, but for now rust-analyzer continues development in its separate repo, and not here. Since the extensions and servers have different feature sets and settings it's technically not trivial. There's also some code generation happening (parts of package.json are generated automatically to keep the server configuration in sync with the extension), which is easier if the extension and server are in the same repository.

Besides these, there are other organizational reasons, e.g. some (most, I think) of the rust-analyzer reviewers and commiters don't have rights in the rust-lang org.