zig-help

21196 threads · Page 288 of 424

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