zig-help

21196 threads · Page 316 of 424

How would a Singleton/Global be created? 25 messages
0.11.x Answered
Creating a Zig Linux Distribution 3 messages
Compiler 0.13.x
Access `zig env` data from build.zig script 5 messages
Answered
IntegerBitSet: setAll and unsetAll 9 messages
Standard Library
`std.http.Client` thread safety 7 messages
Standard Library
range syntax 3 messages
New User Answered
Behavior of coping HashMap instance 3 messages
Standard Library Answered 0.13.x
How to initialize a non-const array/slice of string literals? 3 messages
New User Standard Library Answered 0.13.x
Vulkan help 5 messages
Distributing a library that has dependencies 11 messages
New User Answered
Error: access of union field 'Pointer' while field 'ErrorUnion' is active 5 messages
0.11.x Compiler
Build.sh link library. 8 messages
0.11.x New User Answered
Array types clarity 2 messages
loop without index 3 messages
New User
"a\x02".* ? 6 messages
New User 0.13.x
Cross-compiling a Zig package manager dependency 12 messages
0.11.x New User
Call Function from Global ASM 66 messages
Compiler 0.13.x
using C bitfields, or how to use windows' MEM_EXTENDED_PARAMETER 3 messages
Answered
How can I set an option on a `build.zig` dependency? 8 messages
New User
Examples of Http server 2 messages
Segmentation fault when parsing json 45 messages
Struct to std.json.Value 29 messages
New User Answered
How to access struct members using @typeInfo? 4 messages
Standard Library
nested function declarations 3 messages
Weird pointer stuff with SDL_image in zig 4 messages
New User
bug in enum docs? 5 messages
Answered
type question 5 messages
New User Answered
How to check anytype against a union? 206 messages
function reflection 7 messages
Answered
trouble with addSystemCommand in+out arg 2 messages
Answered
Verbose but clean test output 10 messages
struct reflection 6 messages
Answered
running tests in multiple files 4 messages
Answered
undefined 4 messages
Answered
Allocator documentation 2 messages
Answered
Framebuffer only shows a few pixels 25 messages
0.13.x
json parsing 22 messages
Standard Library New User
is it possible to add a blabla.o file that was compiled with a different build process in build.zig? 21 messages
Collections in Anonymous Struct Literals? 7 messages
What is the correct way to write a comptime test condition? 22 messages
make an array of slices which are coerces from other arrays 5 messages
Answered
Error with payload 3 messages
Losing accuracy of numbers 7 messages
Answered
For loop to count backwards? 2 messages
Answered
`std.testing.expectEqualDeep` for nested types 14 messages
*.zig transformation Build step ? 3 messages
Answered 0.13.x
it is possible to build a module in ReleaseFast while the main exe is in Debug? 2 messages
help run this vulkan lib 16 messages
equivalent to C's #if? 10 messages
New User Answered
C macro translation took a frying pan to my head 16 messages