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