"Sebastien Marie" <sema...@online.fr> writes:
> On Fri, Feb 24, 2023 at 05:54:23PM +0000, Renato Aguiar wrote: >> rust-analyzer is an implementation of Language Server Protocol for the >> Rust programming language. It provides features like completion and goto >> definition for many code editors, including VS Code, Emacs and Vim. > > I am a bit surprised: it seems to me that rust-analyzer requires rust-src > component to run (a rustup component). > > Does it is able to run without it ? I'm able to run it just fine with Emacs (through eglot). I haven't tested all features, but code navigation, completion and formatting are working for me. However, I couldn't complete or follow symbols from standard library, maybe that requires rust-src. > > Does the version of rust-analyzer is decoupled from rustc version ? > (rust-analyzer is also available in rustc tarball, and it is buildable while > building rustc) > > If it is able to run fine without a specific version of rustc, I am fine with > a separated port. > > Thanks for you work on it. -- Renato