zig-help

21196 threads · Page 264 of 424

Reached unreachable code trying to put into StringHashMap 13 messages
Answered 0.13.x
Comptime fill static memory 4 messages
Default initialization of nested structs 30 messages
Switch on multiple values (rust match) 39 messages
equivalent of __attribute((destructor)) 24 messages
Answered
can I just cinclude immintrin.h? 7 messages
Comptime slice in switch case? 9 messages
How to use build.zig and builg.zig.zon to refer to a sibling lib to import 55 messages
error: expected type '[]const u8', found '[*:0]const u8' 5 messages
Answered
How does one convert a [N:0]u8 to a []u8? 11 messages
Can I generate a Zig file in one build step that can then be imported later in another build step ? 34 messages
@typeInfo compile time error 32 messages
New User
How to force `zig cc` to include DEBUG symbols? 6 messages
@memcpy with sentinel terminated slices 6 messages
How do you include other src files in zig? 2 messages
Idiomatic iteration 14 messages
Help creating a VTable 27 messages
New User Answered
What is the correct/better way to modify an array/slice inside a function 33 messages
OutOfMemory 2 messages
How to create a comptime if block? 3 messages
Answered
Help with function pointer syntax 6 messages
New User Answered 0.13.x
C dependencies and static compilation 2 messages
New User
Syntax question. 9 messages
Zig Commandline doesn't recompile? 16 messages
Compiler New User 0.13.x
Creating an XML parser. How should I deal with Unicode? 34 messages
New User
Writing a map iterator 30 messages
New User Answered
Commenting out print statement causes compile error 9 messages
is there a way to feed cli args in test? 8 messages
How to copy []u8 to []const u8 so I can return without freeing (or alternatives to doing that) 9 messages
New User
Allocate for all fields. 4 messages
Answered
How do i turn an array or slice into a pointer? 11 messages
New User Answered
error: expected type '[4]u8', found 'u8' 12 messages
Non-Blocking check for input on stdin? 13 messages
Zig cache directories 7 messages
How to free memories? 7 messages
Use of undefined value but not undefined 18 messages
How can I compare a slice and an array or string? 7 messages
What does this error mean? 3 messages
Call method if it exists 6 messages
Trying to understand const slice types and const correctness in fn params 7 messages
Is there a maybe const? 8 messages
How do i print to stdout? 11 messages
Trouble Reproducing sse SIMD intrinsics with `@Vector` 6 messages
Answered
Unusual hashmap crash 40 messages
[]u8 from a u8 3 messages
How to check if enum has "field with value @enumFromInt(x)"? 9 messages
Answered
Run a system command to all files in a directory? 2 messages
What resources/where can I go to learn about networking with zig for a beginner? 4 messages
cast from []u8 to []u32 16 messages
Answered 0.13.x
Hello, how to go about about making an autoclicker / key presser and such 4 messages