Lee Cannon
Lee Cannon
But what should it be a pointer too? `[0]u8` is zero size so doesn't exist in memory at runtime, so you can't get its address.
Mingw does provide libpthread but the sub library is not included in zig redistribution of it. https://github.com/mirror/mingw-w64/tree/master/mingw-w64-libraries/winpthreads
@zzyxyzz `extern` are not byte packed, you have to add explicit `align(1)` to non-byte aligned fields to get that behaviour ```zig const HasPadding = extern struct { b: bool, n:...
@Beyley If you are still getting this issue can you check the output in vscode again as a much better error should be provided due to https://github.com/zigtools/zls/pull/569
Fixed in #585
The provided reproduction no longer has the issue with latest zls
The provided reproduction no longer crashes with latest zls (after making the necessary changes to get `zig build -h` to work with latest zig).
@allgreed The linked pr is closed, is this still an issue?
zls uses submodules, run `git submodule update --init` or when cloning `git clone --recurse-submodules https://github.com/zigtools/zls` And just to note we are waiting for https://github.com/zigtools/zls/pull/481 to be merge to support compiling...