On 9/28/23 05:46, Renato Aguiar wrote:
> I attached a port of zls (Zig Language Server). I hope it is not too
> late to make it to the release :)
>
> I'm copying the maintainer of lang/zig since both ports should be kept
> in sync.
>
> pkg/DESCR:
>
> The Zig Language Server (zls) is a tool that implements Microsoft's
> Language Server Protocol for Zig in Zig. In simpler terms: it'll
> provide you with completions, go-to definition, etc. when you write
> Zig code!
I noticed two things:
* I need to set XDG_CACHE_HOME before invoking zig build, otherwise
I get an AccessDenied error immediately
* With XDG_CACHE_HOME set, I now get
===> Building for zls-0.11.0
cd /build/pobj/zls-0.11.0/zls-0.11.0 &&
XDG_CACHE_HOME=/build/pobj/zls-0.11.0/zls-0.11.0 zig build
-Doptimize=ReleaseSafe
error: HostLacksNetworkAddresses
Did you manage to build it with PORTS_PRIVSEP enabled?
No comments:
Post a Comment