zig-help

21196 threads · Page 267 of 424

Limits of comptime 7 messages
Using single header c library 16 messages
Reasoning behind block labels 19 messages
Avoid escaped dynamic json string value when stringifying the outer struct its in 36 messages
Segmentation Fault with Binary Tree 50 messages
Fixing invalid syntax 5 messages
New User Answered
Build step that generates a file in my source tree 2 messages
Answered
Am I invalidating the slice? 15 messages
Answered
How to change std log_level based on build args? 2 messages
Answered
How to use io_uring with ipv6 in zig? 3 messages
Answered
how do I make a path absolute in linux? 22 messages
Answered
Is there a prettier print in zig std? 3 messages
Answered
How to put something on the heap? 4 messages
Answered
Cheatsheet for zig type syntax 6 messages
Answered
Question about ptrs and optional 2 messages
Answered
Program hangs when writing big string to ChildProcess's stdin 6 messages
New User Standard Library Answered 0.13.x
reallocating memory leak error 21 messages
Speech to text and text to speech libraries in zig (or any suggested bindings) 2 messages
align() redundancies 3 messages
Answered 0.13.x
getting entry names without allocating memory 3 messages
switch on strings 36 messages
Answered
Can anyone try to convert this piece of code to Zig? 25 messages
Invalid value for L suffix when using windows.h macros 7 messages
0.11.x Answered
comptime array as function parameter 5 messages
0.11.x New User
yo folks.. struggline with the creation of adding objects to array. I got a simple struct with a []U 34 messages
What is error: IllegalFileTypeInPackage 6 messages
beginner problem 11 messages
comptime string typename -> type 2 messages
0.11.x New User Answered
Slice comptime length evaluation question 11 messages
Does this synchronization logic work? 2 messages
How to skip a single test? 2 messages
Answered
Question about const 14 messages
Answered
How to access a field of an optional union? 11 messages
Answered
Am I using "try" correctly? 3 messages
0.11.x New User Answered
multiline string in zig but I can't afford to type \\ at every line. 13 messages
hashmap const error but it isn't const 5 messages
`exe.strip = true;` deprecated? How do i strip executable files from build.zig now? 14 messages
compare string in Zig (I am using Zag web framework). 13 messages
0.11.x New User
Where's the documentation for Zig package manager? 4 messages
Answered
Is there a more succinct/elegant way to create a hashmap w/in a hashmap than this struct I created? 4 messages
Why no string type 23 messages
New User
How do i create a const global struct that's scope expands across multiple files? 7 messages
New User Answered
Root source file in a subdirectory of module root? 9 messages
Getting the return type of function. 12 messages
New User 0.13.x
Linking with Synchronization.lib in build.zig 6 messages
building a standalone c file with zig has different behavior than cmake 10 messages
New User Compiler Answered 0.13.x
My function is being called at comptime?? 11 messages
Learning the language, issue passing an arena allocator to a function 8 messages
New User
anytype in structures, 14 messages
Probable off-by-one 121 messages
Answered 0.13.x