zig-help
Deserialize a JSON array of different elements
New User
Defer to end of function?
Answered
this is weird
Answered
opaque example
New User
MacroQualified functions when linking a c library
Parsing JSON with shape known but field name varies
Save StringHashMap to disk
is this the most simple/best way to allocate a string literal in runtime memory?
AutoHashMapUnmanaged incorrect alignment
New User
Answered
Errors in Zig compiler test suite
Compiler
Answered
0.13.x
Read HTTP headers on accept
Mock `std.net.Stream` behavior?
Answered
Confusing error from compiler
Optimizing out branching code in consequence of partially comptime conditions
Answered
Idiomatic way to assign value to all members of struct slice
Check if function returned any kind of error with if statement
build.zig cache output
Standard Library
Compiler
manipulating bits in zig
Are there integer literals with width?
Answered
How to allocate a struct and initialize it at the same time?
Answered
Type error when appending to an array in a struct in an array behind a pointer
Answered
What args function should be used?
New User
0.13.x
How can i force zig build to re- run specific build step?
Return Slice From Array on Stack
New User
Answered
Allocate Array With Init (Placement new)
New User
Answered
What does access of union field 'Pointer' while field 'ErrorUnion' is active mean?
Answered
my first segfault, help needed
Answered
What do I put for `.decls`?
Answered
Arena deinit() possible leak?
0.11.x
How to cast a multiple item pointer `[*]T` to a single item pointer `*T`?
How to include c headers
When is `@typeInfo(ErrType).ErrorSet` null
Answered
Designing Significant-Whitespace Parser with DoD
Printing the active struct of a union, unable to correctly set field
Answered
0.13.x
ZLs initialization failed VSCode
error when including mingw/include/stdio.h in c
Can't access something in cimport.zig
Answered
How do i Link Libc statically ?
Steps to add new CPU architecture
Compiler
New User
Working with arrayList and structs where free leads to integer overflow
Standard Library
New User
Handling !void in a function that needs to be void return
Generating multihashes
Return types
How to create and pass a Slice of Slices Directly
Bug maybe?
Zig Language Server VSC
0.13.x
Allocate page of memory
0.11.x
Relative Path to absolute Path not working?
Return value of function is const?
How do I compare two C strings?
Answered