Thursday, June 22, 2023

Re: lang/rust: port for rust-src?

On Thu, 22 Jun 2023 12:15:38 +0200, Benjamin Stürz wrote:
> to use the rust-analyzer (port to be announced),

There is already a proposal for a port of rust-analyzer sent 3 months ago
=> https://marc.info/?t=167726148300003&r=1&w=2

See also my port for devel/rust-analyzer in GH openbsd-wip repository
https://github.com/jasperla/openbsd-wip/tree/master/devel/rust-analyzer

> I need the source code of the Rust stdlib installed.
> Unfortunately the current lang/rust port doesn't provide this.
> Could you consider adding the source code as a rust-src sub-port?
>
> I'm gonna attach a mystuff port I'm using on my machines for reference.

As said by sthen@, it would be better to have a subpackage of lang/rust
for rust-src.

With rust-analyzer, I have also an issue to set sysroot for rust-src path,
see my issue https://github.com/rust-lang/rust-analyzer/issues/13666

Laurent

No comments:

Post a Comment