Tuesday, June 27, 2023

Re: [new] devel/rust-analyzer

On Tue, 27 Jun 2023 04:27:40 +0000, Renato Aguiar wrote:

> Sending an updated version of the lang/rust-analyzer port. Now that
> rust-src is available it should be fully functional. (port attached)
>
> 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.

Only a little fix to add in your Makefile for WANTLIB (checks with make
port-lib-depends-check):

+WANTLIB += ${MODCARGO_WANTLIB} m

Build OK on current/amd64 with this version of rust-analyzer 2023-06-26.

Tests OK with make test and basic tests with LSP server for Rust code with
Neovim + lspconfig plugin :)

I have also the same port on GH openbsd-wip: https://github.com/jasperla/
openbsd-wip/tree/master/devel/rust-analyzer


Laurent

No comments:

Post a Comment