zig-help

21196 threads · Page 393 of 424

SOLVED Arraylist has no init? 3 messages
Static (no allocation) map 34 messages
Is there a way to place a field at a specific offset in a struct ? 2 messages
What is the best way to generate a substring at comptime? 12 messages
Struct with dynamic fields 4 messages
[solved] same line documentation is an error? 13 messages
Trying to create fat pointers or interfaces 12 messages
Trying out Vim; ZLS, zig.vim, etc…? 41 messages
My struct has a `foo()` function and its owning module too. How to access the outer `foo()`? 3 messages
Handling integer overflow 35 messages
Converting u64 to packed struct 25 messages
[solved] Strings, but without losing my mind 13 messages
`std.MemoryPool` vs `std.ArrayList` 3 messages
Best way to extend a C struct with member functions? 12 messages
`crypt.h` not found while building with thread sanitizer enabled 23 messages
[solved] zig build - replacement for scons 31 messages
How to write wasm32 custom section? 14 messages
Compiler Answered
How to configure build.zig to always build wasm32? 41 messages
Answered
[solved] Omitting try 24 messages
[solved] Where to ask total noob questions? 7 messages
How to free memory allocated by execution of a childprocess? 82 messages
[solved] Syntax highlight in neovim not working 70 messages
Answered
Unsure about how to free memory 32 messages
wasm exports not working in master branch 4 messages
Having issues with value captures and iteratos 5 messages
Writing into stdin for a ChildProcess 22 messages
how to free keys and values of HashMap 9 messages
Attempt to unwrap Error leads to panic even though I'm unwrapping said error 10 messages
Libraries in Zig 53 messages
Exporting fn label only found by linker if mentioned externally 28 messages
Possible to have extern union layout for non-extern types? 2 messages
Trying to see wasi interfaces 59 messages
Using os.read incorrectly 8 messages
FixedBufferAllocator corrupting unrelated slice 8 messages
New User Answered
Enum of custom type 25 messages
Answered
Slice to sentinel fails. 10 messages
If I import a zig lib with export in it, am I guaranteed to have all symbols in the output? 7 messages
Convert std.net.Address to string 41 messages
How to build zig from source on arch linux? 29 messages
Compiler
Zig Error Union help 26 messages
Answered
Issue with WebAssembly and page_allocator 3 messages
New User
brew --HEAD fails to install 4 messages
Hot reloading zig code in my C99 engine 2 messages
nicer way to use union enums? 4 messages
How do I handle or sort align(1) structures? 8 messages
Top level This() def 20 messages
Saturating arithmetic and mixing signed and unsigned ints 13 messages
Compiler Answered
Memory allocation doesnt seem to work 88 messages
Answered
error unable to resolve comptime value 2 messages
[SOLVED] How can I make a function using one of its parameters as a return a function type? 24 messages
Answered