zig-help

21196 threads · Page 185 of 424

How to convert [*]u8 to [*]u16 27 messages
Answered
ZLS on VS Code no longer resolves custom module definitions 20 messages
Can the compiler build nested structs efficiently? 3 messages
printing not working properly [0.13.0] 5 messages
New User Answered 0.13.x
Basic design problems 23 messages
0.14.x New User Answered
How to create a field sized array inside struct? 5 messages
Answered
Why am i getting the wrong platform ids 12 messages
LazyPath for addIncludeDir on TranslateC 4 messages
Answered
How to sort a set of user structs? 24 messages
Answered
which libc is used in master binaries? 4 messages
0.14.x Answered
fuzzing - memory usage 6 messages
Answered
how to break without using capture 2 messages
New User Answered
linker: undefined symbol `__chkstk` & others 3 messages
Build System 0.14.x
fuzzing with kcov 3 messages
Answered
pointer type child *T cannot cast into pointer type child ?*T 3 messages
Standard Library New User 0.12.x
Getting error when starting child process 39 messages
Answered
need help with zls build on save 5 messages
New User
How to get an index in a slice given its subslice? 19 messages
Compiler error makes no sense? 2 messages
0.14.x Compiler
When calling a common function on a union type, must a switch be used? 4 messages
0.12.x
Concatenating an 2 arrays, one of which isn't known at compile time. 6 messages
New User Answered 0.13.x
Simplicity on build files 38 messages
New User 0.13.x
How to check if struct is anonymous? 8 messages
What is the type of fixedBufferStream? 38 messages
Answered
Error while building different modules and linking a static library 17 messages
Build System 0.14.x New User
Trouble with strings 9 messages
how to use autodoc with the zig build system? 25 messages
Answered
freeing aligned memory 61 messages
Answered
Wrapping `anytype` functions 9 messages
Why am i seeing this output 22 messages
Answered
child.wait() returns Term but compiler says no! 4 messages
0.14.x Standard Library Compiler 0.13.x
How to divide u32 into 4 u8's as an array? 21 messages
strange error 22 messages
Answered
posix sendfile 16 messages
readto end alloc error 22 messages
Answered
How to get all the fields from a struct? 7 messages
Exporting a packed struct 3 messages
New User
write to const cause segfault? 77 messages
build.zig for list of targets 29 messages
Namespaces in automatic doc generation 6 messages
ANDing two boolean vectors 11 messages
Answered
zig translate-c help 7 messages
New User
automatic breakpoint on error return? 16 messages
How can I cast u8 - x expression to unsigned int (like in c++)? 3 messages
New User
Using dynamic std.json 9 messages
Standard Library
how would I go about using D++ with zig 14 messages
0.14.x New User
import resulting in unknown 18 messages
0.14.x New User 0.13.x
Can I turn a `[]const u8` into a `[*:0]const u8` without allocating memory? 16 messages
Trying to append an element to a simple array list panicking 18 messages
capture in 'else' in switch on tagged union 15 messages
Compiler New User 0.12.x