zig-help
pointer alignment \*u8 to \*u32
How do i resolve comptime when calling a function to a pointer ?
Answered
cmpxchg and non-pow2 integers
Answered
@alignOf
Answered
Trouble with types
Is it valid to enumerate files in a directory inside a build script?
Weird behavior between sending allocated/non-allocated strings in a socket writer
allocate buffer on stack runtime dependant
Answered
Is there any way to make a HashMap with multiple values under each key?
Standard Library
Answered
0.12.x
can't mutate arguments given to function
Answered
What would you think of @import options
How to set function param mutable
0.12.x
Setting a variable from a catch block
Compiler
0.13.x
Help With LLVM-18 When Building Zig From Source
Compiler
0.13.x
Dealing with multi item pointer allocators
0.12.x
Expected type blah, found type blah?
Answered
Issue between compile and LSP ?
Answered
how can i convert int to string
Closures as structs
String Interpolation
New User
Answered
0.12.x
Better way to handle errors?
New User
Answered
0.13.x
How to build for other architectures
Answered
use `~/` in `openDir()`
enum with declaration show up as having none
Answered
Sleep current thread for seconds
0.12.x
example in zig docs don't work
Answered
Comptime const
Weird LLVM-IR generation when using non-PO2 vectors
Compiler
(Syntax) List of structs on heap?
New User
Answered
0.12.x
Help with switch on generic?
zig build test and zig build run dont actually test the codebase
0.12.x
test for compile error
Answered
How to build new LazyPath from LazyPath.dirname + filename?
Pass struct method as argument to function
Answered
dynamic type for readPackedInt
unable to resolve comptime value with anytype
StringHashmap cleanup/leak
How to query method's type (counterpart to std.meta.hasMethod)?
DoublyLinkedList implementation and API questions
How to list files based on a filespec/glob/wildcard
Standard Library
New User
0.12.x
compiler fails to build with LTO on gentoo package
Function review (storing/deleting from a hashmap in zig)
Force command to re-run each time, and checking if output is dirty to determine recompilation
Build System
Answered
0.12.x
file to path
Answered
Many-item pointer acting like indexed C pointer
Compiler
0.12.x
Answered
0.13.x
Help with "unpacking" a loop into a tuple
using std.fmt.bytesToHex gives 'unable to evaluate comptime expression'
0.12.x
Why does std.log.err fail tests?
Answered
hello i am trying to learn the language but i am getting an error
how do i iterate over all files in a folder?