zig-help

21196 threads · Page 290 of 424

About Debug mode, why it is "No reproducible build requirement"? 7 messages
build.zig settings for C libraries 2 messages
0.11.x Compiler
Pinned struct proposal 7769 questions 2 messages
Is there a way to skip formatting for an enum? 6 messages
How to link c libraries in build.zig 2 messages
New User
Compile Multiple Static libs into a DLL 44 messages
char to slice 2 messages
Answered
Link against local C/++ library 4 messages
Doc about Generic Data Structures 3 messages
0.11.x New User Answered
Dumb question... Why does deinit take an allocator? 27 messages
Alloc with initialized value 8 messages
How to avoid declaring structs multiple times? 8 messages
making disk backed array 4 messages
Incorrect packed struct assignment 78 messages
0.11.x Answered New User 0.13.x
Unable to find module 14 messages
no member named 'clock_nanosleep' 5 messages
Access enum field by ordinal/index 4 messages
Standard Library 0.13.x
How to create a multidimensional array at runtime? 4 messages
0.11.x New User
how discover the source of error: too few arguments? 10 messages
New User
error: lld-link: undefined symbol: WinMain 4 messages
How to implement a data structure like Go's map[string]any 7 messages
Standard Library 0.11.x Compiler New User
How to include local C header 11 messages
Undefined references in LLVM LineEditor when linking zig2 2 messages
Compiler New User 0.13.x
while loop issue 28 messages
Answered
Package manager: point to local directory 5 messages
Answered
why doesn't `const x: u32 = <u16> * <u16>` automatically widen to u32? (0.11.0) 8 messages
expected type '*[]u8', found '*u8' 207 messages
Answered
Code formatting puts all conditions in a single line 3 messages
Answered
project organization 0.12 41 messages
Zig with C++ 11 messages
stdout writer not printing correct output 4 messages
New User
error: type '?*cimport.struct_SDL_Surface' does not support field access 3 messages
0.13.x
Inlining expression 2 messages
Checking if a type is instance of atomic.Value(T) 2 messages
cannot understand the error message 10 messages
0.11.x New User
To panic or to try? 35 messages
Checking for undefined values 42 messages
Comptime code compiles but doesn't do what I expected 3 messages
Answered
Compile error when slicing ptr to an array. 11 messages
0.11.x Compiler New User
Indexing to certain fields. 8 messages
Answered
how to trace "unable to evaluate compile time expression"? 2 messages
Parse json where value could be 2 completely distinct types with no type marker 50 messages
Answered
ArrayList into a string 3 messages
New User Answered 0.13.x
Making a function `inline` seems to change whether it can be deduced as `comptime` 10 messages
Answered
Zig Build: Create module from a directory? 38 messages
Answered 0.13.x
Is it possible to get a struct representing the current functions stackframe during comptime? 26 messages
Answered
Simple comptime example confusion 43 messages
How to correctly return a heap allocated slice of bytes? 15 messages
streamUntilDelimiter: what error to catch to signal the end of a file? 10 messages
how to check if a specific float can be losslessly converted to the specified integer type? 7 messages
Answered