zig-help
Free memory allocated from c
0.14.x
Standard Library
Answered
How to use for loop over array to get pointers?
Help resolving a memory overwrite issue
Answered
Getting the current username
New User
Standard Library
Answered
0.13.x
Spawning child within WSL does not properly propagate env vars
Answered
Can't create structs that have fields of function pointers with comptime parameters AFAIK
Answered
Intersection of ArrayLists
master
Answered
How to check for root rights
0.14.x
I want to `readToEndAlloc` a file, but also specify the buffer size needed....
Answered
How do we reduce destroy/deinit time for arena allocated code?
Answered
Help with union(enum) Tag Type Mismatch in switch Statement
New User
Answered
Is x -%= y -% z supposed to be equivalent to x = x -% y -% z? If yes, then why isnt it in 0.15 dev?
Standard Library
Is there no HashMultimap or something, in the standard library?
0.14.x
Standard Library
Answered
How to collect stdout and stderr in natural order
When to use @Vector?
New User
Answered
I can't compile this simple function
Getting mad about C code integration
0.14.x
Answered
hard to debug error (no help needed)
0.14.x
@as(f64, @floatFromInt(i))
New User
Get the error type of the inferred return error type of a function
wasm & zlib "indirect call to null"
Casting a single digit as an `i32`
Answered
is this read and write structure implemented correctly
Allocation inside a function?
0.14.x
Zig float shenanigans
Answered
Using C lib segfault
0.14.x
Answered
Wasm program OOM during initialization
0.14.x
master
0.14.0 breaking change making zig unusable
Build System
0.14.x
Alignment in a packed struct
0.14.x
Answered
Pass test filter into build test in 0.14?
0.14.x
New User
Answered
Is the TCP stream defined in net thread safe?
Answered
Creating a HTTP Server
0.14.x
Standard Library
New User
Answered
Segmentation fault when I remove `log.info`, code works otherwise.
0.14.x
New User
Answered
cImport value is undefined if I do not "use" the value
Answered
How do i import another library that has its own build.zig file?
Answered
Ducktyping for `Writer` interface
Answered
Incrementally Re-Writing C Projects
Build System
0.14.x
simple shared object results in SIGABRT: mem.alignForward assertion failed
0.14.x
What's better/more efficient?
New User
Answered
assert vs comptime vs errors?
0.14.x
Standard Library
New User
generics vs vtables
How to only collect 'stderr' but not 'stdout' with std.process.Child.collectOutput()
Standard Library
master
Unknown tuple return type
how to bit pack an array
Exporting an uncalled function
how to read UTF-8 characters with a buffered reader?
Standard Library
New User
Answered
error: error(x86_64_encoder): no encoding found for: none mov m256 imm8s none none
howto check if a value of the field is the default
Answered
What is the correct way to initialize this array?
Answered
Is there an expression combining the check on optional and its value?