### Zig Version 0.11.0-dev.2680+a1aa55ebe ### Zig Language Server Version 825cbd2e074488259ca1123a1d9288b2bb244a62 ### Steps to Reproduce Run ```zig build -Doptimize=ReleaseSafe``` or ```zig build``` ### Expected Behavior ZLS should build. ### Actual Behavior Error message: ```error: EndOfStream```
Activity
kassane commentedon Apr 20, 2023
Same error!!
leecannon commentedon Apr 20, 2023
Same here but works with zig 0.11.0-dev.2666+1e207f1ed
Upstream zig issue: ziglang/zig#15376
benbot commentedon Apr 24, 2023
A rough
git bisecttells me that the first commit with this issue is a78950cSuperAuguste commentedon Apr 24, 2023
@benbot this is not an issue with zls but rather with Zig (see the mentioned Zig issue)
leecannon commentedon Apr 26, 2023
The upstream issue (ziglang/zig#15376) has been resolved.
I am not at a computer can someone see if this issue is resolved. @yerlaser @kassane
note: at time of writing the master zig tarball will not contain the fix
BratishkaErik commentedon Apr 26, 2023
It builds fine on my Gentoo system, so I guess yes? Just updated Zig to master.
leecannon commentedon Apr 26, 2023
Thanks @BratishkaErik
yerlaser commentedon Apr 26, 2023
Just tried with 0.11.0-dev.2777+b95cdf0ae and the issue persists.
I pulled the latest changes and removed zig-cache but it didn't help.
BratishkaErik commentedon Apr 26, 2023
That's not a latest version, latest is
0.11.0-dev.2835+7285eedcd. I think you downloaded tarball from Ziglang.org website?yerlaser commentedon Apr 26, 2023
Yep. Should I build from sources instead?
BratishkaErik commentedon Apr 26, 2023
Yes, or you'll need to wait until tarballs will be updated.