zig-help

21196 threads · Page 406 of 424

Trouble with ZLS in neovim ? Read this, might help 2 messages
Comptime function return of tag type? 5 messages
zig build emit shared libraries without the lib prefix 11 messages
how set build mode in build.zig? 34 messages
Answered
Interned strings 15 messages
Does Zig expose a way to query the target architecture's cache line width? 2 messages
How to create a slice of slices out of an array of arrays? 19 messages
New User
cImport error unable to analyze OutOfMemory 2 messages
What does the block near the return type definition of this fn do? 6 messages
c++ in build.zig 10 messages
How to run a test that should create a compilation failure? 2 messages
good sources or examples for benchmarking? 10 messages
arg vs *const arg 19 messages
Library documentation. 9 messages
Returning struct from function, more elegantly. 44 messages
New User
C import failed 9 messages
Converting from [*c]const u8 to []const u8 56 messages
Packed Structs 10 messages
How to link with C libraries on Windows? 21 messages
Compiler
Windows - 'invalid byte `n`'. Errors that don't occur on Linux 11 messages
Compiler
how do i link the flp file to my zig file then call ttyout 2 messages
How to catch OutOfMemory errors when allocating? 10 messages
How to fill out a v-table with functions from a struct? 46 messages
Hi, how do I create a pointer to an unknown type that I can cast to some known type at runtime? 4 messages
Is there a better write null checks for optional? 17 messages
How do i compile zig into asm 61 messages
Why is the size of structs different with extern? 19 messages
Combining Enums at Comptime 5 messages
Make Zig emit C code to debug what it's doing? 8 messages
Generate a type with default fields. 3 messages
How to link C libraries on Windows (pkg-config?) 3 messages
how BufferedReader should be represented as a field of a struct 2 messages
field order 21 messages
Vectors and SIMD. 30 messages
Will asyncio come to stdlib? 3 messages
pointers address 5 messages
C pointers cannot point to opaque types 7 messages
how would I start with peer-to-peer networking in zig 15 messages
multiple value sentinel 10 messages
Sentinel-Terminated Arrays 7 messages
cast []f32 to []const u8 6 messages
Iterator variable is in higher scope 45 messages
command line args 44 messages
Answered
How to enable std.log.debug messages in ReleaseSafe? 14 messages
How to cross-compile C libraries such as libcurl? 7 messages
custom at rules 7 messages
Why is the return type of BoundedArray.slice mem.Span instead of just a naked slice? 3 messages
cross compiling rust to armv7 with zig cc 5 messages
tagged union instantiation 2 messages
cross thread events 16 messages