zig-help

21196 threads · Page 354 of 424

Top-level Fields (?) 7 messages
how set OptimizationOption in build.zig? 18 messages
Answered
using a dynamic lib (raylib), strange error on @cImport 4 messages
Zig compiling with muslc on Gentoo Linux no multilib when I have glibc 3 messages
Ziglings exersice 16 8 messages
valgrind on linked library. 6 messages
Deciding what type to pass into an editable text input box function 2 messages
Answered
Why is this stack value pointer valid 11 messages
Duplication of type of an ArrayList member of a struct while initializing it in init() 4 messages
Answered
Modules (local) with dependencies ... use "put" syntax ?? 28 messages
Return type should be usize or Maybe(void) 103 messages
New User
Zig is interesting, but what do i do with it? 34 messages
Returning modified literal 24 messages
Compiler 0.13.x
Spawn struct method on separate thread? 8 messages
Answered
Translating C to Zig Invalid Bytes \xff error 2 messages
Latest build has a much larger ReleaseSmall (WASM) 2 messages
Compiler 0.13.x
Import file from parent directory? 14 messages
Comptime interface implementation with concrete self reference 16 messages
Answered 0.13.x
what does `noalias` do? 5 messages
lld-link: undefined symbol: malloc 14 messages
Build 3 messages
Answered
inline functions vs closures 9 messages
Answered
linking ffmpeg on windows msvc using zig build 3 messages
length of sentinel terminated 11 messages
entries() for structs like Object.entries() from js 7 messages
Loop over mutable pointers to ArrayList elements 10 messages
Answered
BogoSort 192 messages
New User Answered
Question about failed compile and fix 6 messages
Standard Library Compiler Answered 0.13.x
ZLS imported C header completion 10 messages
Answered
an example using dlopen and dlsym 7 messages
expects u8, got le void 24 messages
tests in structs 4 messages
Answered
Do I have to store the keys of a StringArrayHashMap myself? 4 messages
Answered
Can I feed --deps & --mod args into anonymousDependency? 2 messages
No warnings when using build.zig to compile a pure C project. 15 messages
Explicit way to create Optional values? 6 messages
Answered
How get input of keyboard device in uefi? 5 messages
Standard Library 0.13.x
unrecognized parameter: '--c-source' when trying to build C 5 messages
for loop with negative indicies? 21 messages
Is reading a file line by line like this idiomatic Zig? 105 messages
custom test ... b.step programs runs in parallel?? 5 messages
Answered
Treating blocks as variable functions 4 messages
Compiler 0.13.x
Does zig support cross compile to linux on macOS. 7 messages
0.13.x
Is there a dynamically allocated BufferedReader? 20 messages
Standard Library
Question on evaluation order in '+=' statement 2 messages
Answered
return return 12 messages
0.10.x Compiler 0.13.x
Help with runtime array out of bound panic 2 messages
Answered
Is there a way to force ipv4 for std.http.Client? 28 messages
Standard Library Answered
how to change output directory of `zig build` 23 messages
Counterpart to @setRuntimeSafety? 6 messages
Standard Library Compiler 0.13.x