zig-help

21196 threads · Page 87 of 424

How can I track the number of times a struct instance calls a method at compile time? 2 messages
0.14.x New User Answered
How to "hold" a debug allocator 31 messages
How to do zig build run --watch? 2 messages
0.14.x New User Answered
Why is zig-cache so large? 34 messages
Issues with c-string typing 2 messages
0.14.x New User Answered
Segmentation fault at address in random places when use llvm backend 6 messages
0.14.x Compiler Answered
How to import header files with convoluted file structure ? 5 messages
Answered
How to detect if macro is defined in system headers? 16 messages
Build System New User
Help me understand why the same condition expressed differently has different values 2 messages
Answered
ArrayListUnmanaged.deinit on default initialized list 2 messages
0.14.x Standard Library Answered
How to @cInclude a header that isn't in the working directory ? 27 messages
Answered
Raylib build times 7 messages
Stop zig tests runner on first error 38 messages
0.14.x Standard Library master Answered
Function unexpectedly loses comptime context 35 messages
Answered
Field type inference doesn't work with anonymous struct 4 messages
Build System 0.14.x Compiler Answered
Conditional compilation for c source 2 messages
Build System 0.14.x Answered
Translate C macro to zig: cast to extern union 42 messages
Creating packed struct with a number of elements 3 messages
0.14.x
Translating a hash from std.crypto.hash.* to hex 6 messages
Answered
Is `usingnamespace` planned for removal? 4 messages
Answered
simple bit stuff 51 messages
Answered
which of these two would be faster? 10 messages
Curious error removing `usingnamespace` 3 messages
Answered
How to do this in runtime? 5 messages
0.14.x New User Answered
What is [*] const u8 and when should I use it? 2 messages
0.14.x New User Answered
Calling zig http fetch from a zig static library linked to a dll with mingw crashes 29 messages
How to use uwebsockets in zig 31 messages
Passing arguments to `zig` itself from `zig cc/c++` 4 messages
Cannot resolve comptime value from a comptime function 21 messages
0.14.x
Check if something can be trivally cast (before actually trying to cast) 9 messages
Answered
Slice from one item? 8 messages
0.14.x
Best Practices advice 19 messages
Function that create Structs instance 46 messages
New User Answered
How to free a many pointer type? 8 messages
Using defer free with variables that get updated? 5 messages
How to auto re-run a test on save? 2 messages
0.14.x New User
Many valgrind errors with linked C library at optimize=ReleaseXXX 4 messages
Compiler 0.13.x
Info on how I should be using C in Zig? 6 messages
Build System master New User
Failing to build ZGPU and Dawn for x86_64 Windows 2 messages
Build System master Answered
How can I create warnings at compile time? Is it possible? 5 messages
Answered
What's the best way to access/use GPU linear algebra in zig? 35 messages
cannot serialize custom struct using std.zon.stringify 10 messages
New User Answered
TicketSpinLock atomic orderings 2 messages
Answered
Function stubber 7 messages
iterate over files in a directory in build.zig 44 messages
Reader from []u8 29 messages
is this the correct way to check typeInfo struct field defaultValue()? 19 messages
Cast Slice to Array 3 messages
Canonical way to check if a slice is all zeros? 3 messages
0.14.x Answered
Help with understanding allocators 22 messages
0.14.x Standard Library New User