On Thu, Jan 18, 2024 at 09:44:20AM -0000, Laurent Cheylus wrote:
> The RDEP on lang/rust,-src is not optional, rust-analyzer tool needs Rust 
> sources to work properly.

Agreed, but on the other hand, you may not be using the packaged version of
Rust, in which case you'd point RUST_SRC_PATH elsewhere, and the packaged
rust-src would be unused.

Then again, given how difficult rust is to bootstrap on OpenBSD, I doubt anyone
is using their own build of rust, so actually I'm fine with making rust-src a
hard dependency. Also, disk is cheap.

We should probably mention RUST_SRC_PATH in a package README.

-- 
Best Regards
Edd Barrett

https://www.theunixzoo.co.uk

Reply via email to