zig-help
plot libraries
How to build DLL before Exe?
0.13.x
how to mimic green threads
Zig build: how to set output path to a only one executable
Answered
0.13.x
Better way to check union member type
switch(pointer)
Answered
Stack overflow protection
0.11.x
New User
Answered
Listen on input
linker issues when trying to compile c++ file for imgui.h and sokol
Runtime length array
New User
Answered
SIMD lexing problem
error: operator == not allowed for type [error!foo]
New User
Answered
Why can't functions passed to Thread.Pool.spawn throw errors?
Standard Library
Compiler
Answered
`helper.zig` compiled for C has no member named "main"
Answered
0.13.x
Testing all my Zig files?
Answered
std.mem.tokenizeAny ignores remaining u8 in buffer
Standard Library
0.11.x
Error: Cannot assign to constant.
New User
Answered
0.13.x
Cannot parse symbol names with parser-toolkit
create struct field based on comptime input
Stack failure
how add .lib file to my build ?
Why can't I use capture syntax with while () : ()?
`math.sin()` on a `i32`?
Best option for a simple TCP server?
New User
ZLS in vim. Quickfix buffer opens on error
Linking Vulkan on Windows
Answered
0.13.x
Implementing custom JSON decoder
How to make a 2D ArrayList
Answered
Is this a thing? (if-else-if-else-expression)
Cross compiling hello-world
Answered
Simple usage of `std.StringArrayHashMap` is not working
Can I import a set of functions from a struct/module into the global namespace?
Answered
is there any reader that caches into an arraylist as you read from it?
How to declare an array with indices?
0.11.x
New User
Answered
VSC Zig extension: turn off linting
Can I create a string (like "day1()") and call it as a fn?
Stack allocations in async/non-async function calls
Deflate re-implementation Issue.
Standard Library
New User
0.13.x
Unable to infer array size
Answered
Is it possible to ignore the const/var errors?
Fast Dot product
how run taichi with zig ?
How to import a package with zon?
how can I get the type of an extern function without have the referenced lib?
Specify a parameter with only one possible value?
I want to write a "watch folder" cli tool in zig
Unit testing stateful structs (new to Zig, probably a bad idea!)
New User
Are optional non-pointer types reified in Zig?
New User
Answered
Errors as payloads
Casting a pointer from `*void` to `*u32`
New User