zig-help

21196 threads · Page 199 of 424

Helping building a C program the links to libsystemd 2 messages
New User Answered
Can someone help me set up debugging for VS Code on Windows? 212 messages
New User Answered
Allocate [*]u8, but return align(8) pointer 2 messages
Answered
Why is it not require to close the std.fs.Dir 4 messages
New User Standard Library Answered 0.12.x
cimport: cannot load opaque type 12 messages
Answered 0.13.x
Why is the type alias not able to be compared? 31 messages
Answered
Resources for De-serialization Patterns? 11 messages
Answered
hash of dynamic arrays 9 messages
[solved] ArrayList (or alternative) started at compiletime. Possible? 116 messages
Answered
Zig test failing to find module 38 messages
Build System 0.13.x
Simple Copy pointer from one EnumArray to another. 40 messages
Answered 0.13.x
How do I cast an array or slice of 8 bytes to a u64? 7 messages
Answered
Does `var` make a member public? And how do you access the member of the super struct? 21 messages
New User Answered
Is this idiomatic? 13 messages
tring to do inline assembly 6 messages
New User Answered 0.13.x
Help with casting array literal to slice 4 messages
cmpxchgWeak does not work with f32 18 messages
Using `.` short-hand on variables defined in a struct 52 messages
New User Answered 0.13.x
Clean way of emitting an error in build.zig 2 messages
Answered
Variable never mutated error, but it should be mutated? 15 messages
Question about freeing an `ArrayList` of something 4 messages
Answered
std.fmt optionally print 7 messages
Answered
How does one do an inclusive range in zig? 4 messages
New User Answered 0.13.x
getting live output from a command 5 messages
Build System New User Answered 0.13.x
How to read password from the terminal? 6 messages
Standard Library Answered 0.13.x
variable sized structs/tuples? 8 messages
0.14.x Answered
cmd 68 messages
New User Answered 0.13.x
simple xxd in zig without heap allocation 185 messages
Answered
Trouble cross compiling for RaspberryPi 4 messages
Answered
Confused on the lifetime of this variable: why does this work? 24 messages
Answered 0.13.x
[solved] Adding a module with zig build-exe. Possible? 5 messages
Answered
signed/unsigned math issues 7 messages
root.zig generated by `zig init` 28 messages
does zls support recursive dependencies? 2 messages
How to make constant map thing 23 messages
Slices, arrays and many-item pointer 27 messages
New User Answered
Unfathomably slow f128 operations 7 messages
Answered
@unionInit, this works but seems crazy, how can I do this better? 13 messages
0.14.x Answered
Question about ` []const u8` lifetimes and allocations in struct fields 8 messages
0.14.x New User Answered
translate-c with lua5.3 generates non-compiling code 2 messages
making an iso with disk-image-step 33 messages
Answered
Put buffer of fixed sized array into heap allocated u8 array 87 messages
Answered
memset function alternative in zig 52 messages
Answered
In-depth resources for C/C++ tooling? 4 messages
Build System Compiler New User Answered
Iterating over ArrayList makes captured value const 16 messages
New User Answered 0.13.x
how to call/separet build.zig 49 messages
New User Answered 0.13.x
what is mode in std.posix.access? 3 messages
0.14.x Standard Library New User Answered
Zig version discrepancy 13 messages
0.13.x Answered 0.12.x
project structure 3 messages
Answered
How to link these c files with module 23 messages