zig-help
Custom Allocator with ability to track allocated bytes - segfault
hot reloading using build.zig to signal to host
Answered
0.13.x
How do I use `addCSourceFiles`
New User
Memory Freeing Pattern for Functions that return ArrayLists/Slices
Mutation and ownership of ArrayList in a struct
Linking libraries and zig build run
New User
Answered
error: cannot assign to constant (struct member)
Zig leak beginner question
0.11.x
Env in path
Answered
struct 'os.system__struct_2773' has no member named 'fd_t'
Answered
I don't understand why page_allocator is of type "type"
Standard Library
New User
Answered
Generate the fields of a struct based on a string?
Is there a way to connect to http server with self signed certificate with std.http.Client?
Standard Library
Zig Builder for WASM error
Standard Library
0.11.x
Answered
How to get struct fields types
Casting using @floatFromInt oddities
New User
0.13.x
null terminate string received from `conn.stream.read`
Is this a good way to create a return type?
Answered
Prepending a linked list of a struct pointer inside itself
Zig is complaining about getErrno in page allocator in UEFI when pool allocator is used
Json parser error.MissingField
Answered
allocPrint 287724 Segmentation fault
Answered
`glClearColor()` is causing a segfault
Can unions be used to force argument input type to be one of a list of options?
Using iterators at comptime
0.11.x
Compiler
Bit shifting
Answered
Can one at comptime, create a struct via looping over the fields of an enum?
Answered
Question about pointers to local values
Answered
`-fcompiler-rt` - fatal error LNK1143: invalid or corrupt file: no symbol for COMDAT section
close a file descriptor passed from C without importing the unistd library?
Need help with zig generics
New User
Multiple libraries to depend on the same static variable
Answered
Two different behavior for the same call (cimport)
0.13.x
Best way/lib to compress binary data?
Answered
How to convert `[]const u8` to `?*const anyopaque`?
Answered
0.13.x
What's the proper function argument to take the result of an `@embedFile()`?
Answered
0.13.x
Confusing Regarding Memory Leaks for GPA
how to include std headers when using `zig cc`
Compiler
New User
Zig bitCast does not function as expected
Can I get the name of a variable instead of the value of the variable?
Assignment from switch on optional
Answered
Can one convert a string to an error
[*]const [*]const u8 doesn't allow for array initialisation
New User
0.13.x
How to use AutoHashMap - seeing some weird behavior!
error.OutOfMemory that I can't explain
Answered
Difference between `extern` and `@extern()`
New User
0.13.x
How do I catch a specific error?
Answered
How to create a windows window if user32 does not exist in master
Standard Library
Answered
0.13.x
font tutorial
What is a member function?
New User