zig-help

21196 threads · Page 177 of 424

a string of `"yo!"` somehow turned into a string of `s = "` ?? 102 messages
New User Standard Library Answered 0.13.x
If you pass an allocator from ArenaAllocator into ArrayList, should you still deinit the ArrayList? 3 messages
arraylist is seemingly cleared for no reason 47 messages
New User Answered
arithmetic on type to generate new type? 5 messages
Answered
Is this a good way to unwrap/unnest invalid state? 13 messages
Answered
@cImport trouble 14 messages
New User
Is there way to run function on module import? 3 messages
error: unable to find zig installation directory 7 messages
0.14.x
Why does std.Thread.Pool.init() take *Pool? 3 messages
Answered
Issue with structs and allocator 8 messages
New User
Overriding `help` option in Cova 16 messages
Answered 0.13.x
does zig have arctan anywhere? 2 messages
Answered
Small Code Review 4 messages
New User
JSON : thread 1 panic: access of union field 'array' while field 'object' is active 3 messages
Answered 0.13.x
appending to a linked list elements from array 6 messages
Does zig automatically inline switch cases if the operand is comptime known? 8 messages
Answered
Attempt to cast negative value to unsigned integer 23 messages
Answered
Release multiple StringHashMap in an array 3 messages
Answered
is the last item address of a slice a valid one? 8 messages
error: expected type '[]u8', found '*const [11:0]u8' 5 messages
Parsing XML 34 messages
type checking 11 messages
How to parsed json? 3 messages
New User
Struct methods cannot use struct name as parameter in test section 4 messages
Answered
Truncated file size string? 68 messages
Out of bounds error on initialized 2D ArrayList 49 messages
Answered
Getting pointer to last elem of `std.ArrayList` 12 messages
Merge sort using memcpy 8 messages
Answered
Redirect Error 18 messages
Answered
Comptime array with multiple types 11 messages
Compiler New User 0.13.x
Zig Build Project Structure 12 messages
Build System New User 0.13.x
Question about interfaces 3 messages
New User Answered
std.net and evented network code 5 messages
Standard Library Answered 0.13.x
Funny error 36 messages
Answered
distinct types, or can we only use structs? 5 messages
can build.zig replace cmake? 4 messages
What's the secret sauce? 43 messages
New User Answered
how to correctly distinguish errors? 12 messages
Sort custom struct in StringArrayHashMap 3 messages
Standard Library Answered 0.13.x
Capture value in anonymous function 3 messages
VSCode extension. zls: panic: reached unreachable code 4 messages
New User Answered 0.13.x
FreeBSD stdlib headers not found 2 messages
Answered
Incorrect alignment when casting [x]u8 to *u16 when x is an odd number in a struct 9 messages
New User Answered 0.13.x
code review? 33 messages
panic on pop with ArrayList 54 messages
New User
Code Review & Best Practices 29 messages
Answered
using namespace 16 messages
Vulkan drivers overwriting a stack value? 51 messages
0.12.x
tagged union field access issue 22 messages
Answered
Segmentation fault when building zig from source 2 messages
New User