zig-help

21196 threads · Page 422 of 424

sorting and comparing (ascii) strings 57 messages
Include stdint.h without linking C standard library 4 messages
Lacking typedef enum ... should we just create a struct containing enum values? 26 messages
Include not system C header 3 messages
Custom ld flags 6 messages
Casting a ptr with comptime known length to a slice 7 messages
using c enums as zig enums? 30 messages
Custom auto-formatting with ZLS? 6 messages
New User
Wrong int value in packed struct 53 messages
New User
Putting Tuples in Unions 40 messages
Using build.zig from other build.zig 19 messages
Can I create an array of generated types? 7 messages
const and non-const version of a function 60 messages
How to override `panic` on both 0.9.0 and master? 12 messages
How do I get the path of `build.zig` ? 8 messages
Compiling files in languages other than zig and C 17 messages
Function pointer 5 messages
String Parse Error - sentinel mismatch [Solved] 21 messages
New User
A bug with (not necessarily in) Allocators 45 messages
Compiler
std.builtin.AtomicOrder 6 messages
switch return error 15 messages
allocator-less fs.path.joinZ? 16 messages
Format floating point number in notation other than scientific 3 messages
How to serialize a struct? 3 messages
A log function with file name and line info 35 messages
Normalise a Vector 15 messages
Transform error to []const u8 50 messages
What does `pub` for functions in structs do? 34 messages
Coercing from zig strings to C 4 messages
Unable to write to stdout inside wWinMain function 65 messages
unable to access struct member 12 messages
New User
unable to pass function as argument with stage2 12 messages
nested typeInfo 14 messages
Return String when using build-lib 18 messages
Missing something Obvious in OpenGL Triangle 10 messages
Answered
how to disable ZIR output in debug build of stage3? 2 messages
Compiler
Forcing evaluation of decls (functions) from build.zig? 12 messages
can I alloc with sentinel? 2 messages
Single threaded build with zig build 6 messages
Arbitrary LLVM annotation 2 messages
How to make an array of a certain length? 29 messages
New User
How to use EnumFieldStruct? 7 messages
Standard Library
Writing to stdout 15 messages
is DynLib broken in stage2? 3 messages
Building Zig in Arch Linux after LLVM upgrade 14 messages
Is it possible to iterate and assign struct fields at runtime? 11 messages
Is it possible to allocate a 2d array with a single alloc? 24 messages
` __attribute__((__used__))` in zig 26 messages
Compiler
Dynamic Zig imports 26 messages
Debugging build cache 4 messages
Compiler