zig-help

21196 threads · Page 321 of 424

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