zig-help

21196 threads · Page 206 of 424

Checking for "undefined" causing thread panic 27 messages
New User Answered 0.13.x
expected type '*u8', found '*const u8' 23 messages
New User
What is the ws2 module? 8 messages
Answered
Adding variable in the middle of a "string" 64 messages
force infer in zig? 3 messages
Answered
Creating an universal macho binary 28 messages
Build System New User Answered 0.13.x
Debug printing inside tests run with: zig build test 6 messages
Good way to do context 7 messages
Initialising array with struct 15 messages
Answered
enums + arrays 64 messages
Answered
Time function execution 8 messages
Answered
Strange issue with ArrayList 8 messages
[solved] Printing all values from MultiArrayList(T) 10 messages
[solved] Explicit discard of any errors 58 messages
[solved] How to access a file's struct members from inside a struct defined in that file? 8 messages
C++-type polymorphism and VFT comptime-ness 3 messages
Answered
checking if pointer points to corrupted or freed memory 6 messages
0.14.x Answered
build step that prints a string? 7 messages
Answered
Referring to struct field in @Type 4 messages
avoid error handling with empty error{} 5 messages
Answered
Struct `const` fields, or a way to `@compileError` on mutation 7 messages
zig build failing with exit code 1, no output 3 messages
How does `[]const []const u8` work in zig? 17 messages
How do I convert `[*c]u8` (C string) into `[]const u8`? 3 messages
Answered
error: no module named 'build_options' available within module root 8 messages
Answered
How to download a file and save it as a file using zig? 3 messages
Answered
error: `Windows.h` file not found 8 messages
Build System Compiler Answered 0.12.x
Where is .addModule()? How do I add packages in 0.13.0 99 messages
Convert integer to string 5 messages
-femit-doc 3 messages
Feel like I have a use after free 22 messages
Answered
modules do not work for unit tests 12 messages
Build System New User Answered 0.12.x
Why does bytesAsValues return bogous values and what would be the correct way to reinterpet_cast? 4 messages
Answered
Check run/test step 6 messages
Answered
Can't switch optional type 6 messages
Answered
error: incompatible types: 'usize' and 'i12' 21 messages
Answered
error: invalid operands to binary bitwise expression: 'Vector' and 'Vector' 7 messages
0.13.x
32-bit trying to link to 64-bit crt? 2 messages
Code structure for methods that might mutate, might return new instance 48 messages
comptime call of extern function? 11 messages
New User
Proper `build.zig` for building a shared library. 11 messages
Clean up `Local Variable is Never Mutated` compiler warning elegantly in ptr / buffer writing code. 9 messages
Standard Library Compiler 0.13.x
[solved] How to return value from switch statement block into a variable 8 messages
Convert usize to f64 5 messages
Answered
[solved] How to track a cyclic dependency error? 13 messages
Equivalent to C's `stdlib.h` `system()` in Zig (non-capturing) 75 messages
Convert bytes to T slice 3 messages
Answered
comptime / setEvalBranchQuota 14 messages
New User 0.13.x
Create a switch field from an array? 9 messages
How to test @compileError()s 4 messages
Answered