zig-help
is there a way to get a `c.FILE` from a `fs.File`?
Standard Library
Are there known issues with recursion in Zig 0.10.0?
Answered
conditional compilation of functions
std.sort.sort with custom comparator causing integer overflows
Standard Library
Answered
Is it safe to return the address of a local comptime variable?
Build from source - How to use `Option B` (existing zig) with zig from `Option A` (bootstrap)
Zig is slower than C writting bytes to a file
CMake Error at cmakeFindllvm.cmake27 (message) expected LLVM 15.x but found 13.0.1 using
Compiler
New User
Answered
linking libgccjit results in error
slice syntax isn't slicing
How to properly deinitialize ArrayList?
Finding TypeOf extern struct field
Answered
how to change state in union with out loose or rewrite data
Build times on 0.10 is this normal?
New User
Large integer type completeness
how do you all get around not being able to switch on strings?
unable to evaluate constant expression
Answered
Is there an easier or cleaner way to do this?
anyopaque ptrCast changing buffer contents
Answered
[windows] Where does zig get system libraries (User32, etc.) from?
Access union value at comptime with a comptime tag value
print without all the 0 in the buffer
How does path.isAbsolute work?
Index OOB only in debug
Answered
How to annotate errors?
Answered
Recommended http?
Standard Library
New User
Zig learning material
How much less efficient is it to return an array on the stack?
Why the lines in ArrayList are broken when I try to print it? Wrong memory allocation.
Standard Library
New User
what does the context in std.sort.sort() mean?
Answered
How to pull comptime value off of type
Answered
Is there a way in a loop enumerate an array or slice?
find length of line of string at comptime
allocator.alloc(custom_type, n) OutOfMemory error
Answered
multiline string literals breaking
`zig build` fails with exit code 5 (no messages)
Compiler
std.meta.FnPtr no longer exists, how to replace it?
Standard Library
zig cc produces huge binaries
Answered
issue no. 12886 Need help.
inline `comptime` block and return from it
How to use anything that requires an `Allocator` during `comptime`
Find older help posts
Set the output filename with `zig build-exe`
Compiler
New User
Strings in WASM -- JS to Zig and Zig to JS
Problems with translate-c using glew
Compiler
pass functions around
Bug or UB -- passing a pointer to an ArrayList vs passing its item slice
anyopaque alignment change
Is there something like lambda or anonymous functions?
Is there any harm in destructuring assignment?
New User