zig-help
Looking at the source for std.Build and looking for how addExecutable actually adds the build step.
Standard Library
Compiler
Answered
Unexpected stack alignment issue in -OReleaseSmall
Remove anytype?
optional anyWriter as type of argument
Hash 2 dimensional array using sha256 in zig
Can i initialise an array and make it a slice in the same line?
Concatenate strings
Sort an array
Standard Library
How can I print the character '}' and '{' ?
Convert c pointer to regular zig pointer
Answered
Convert to float 3,14
Answered
Allocation does not match resize (gpa)
Standard Library
New User
Modifying of comptime value
calling a C function changes pointer address of struct member?
How to compare string formated []const u8 in tests
New User
Zig function pointer to C API
Answered
`std.mem.Allocator` vs `std.io.Reader`
Cast u1 slice to u16
Compiler
value stored in comptime field does not match the default value of the field
Standard Library
Answered
0.13.x
Get function parameter names
Standard Library
Answered
0.13.x
Is there way to create pointer without alignment?
Answered
How do I initiate a writer for BoundedArray?
Standard Library
0.11.x
New User
Answered
Generics and Overloaded Functions
New User
Answered
does zig have default function params
Cannot deinit hashmap
String length and debug print
New User
get current struct name
Answered
Zig Runtime Array Allocations
New User
Answered
Understanding 'module level' functionality
Answered
Parsing cli args into data structure
c style "tuple of strings"
New User
Answered
Append to file
Answered
importing a library seems to not work (very new)
is there any way to get a struct field to hold a pointer to the struct its in?
Is the "Exporting a C Library" example supposed to be working currently?
Adding log statement between error handling
Is there a std function to search a []T for a t: T (as in get the index of first occurrence)?
Standard Library
New User
Answered
create custom file type
switch act as many ifs
When exactly are you allowed to use the `value.method()` syntax?
New User
Answered
Zigling 82
0.11.x
New User
Answered
expected type '*array_list.ArrayListAligned(u8,null)', found '*const array_list.ArrayListAligned(u8
New User
Answered
How to combine a string with a number
Help using curve25519
How to cross compile using `zig build`
0.11.x
Compiler
New User
Answered
How to initialize this
New User
How to know many-item pointer is at the end of string
Answered
translate to C
Struggling with casting
Answered
Performance issues when looping over [*]u8
Answered