zig-help

21196 threads · Page 416 of 424

addWithOverflow results in a vector of u1 instead of a vector of bool 22 messages
using enums as namespace 13 messages
translate-c promoteIntLiteral(c_int) vs as(c_int) 9 messages
closing a child's stdin 13 messages
how to compile zig into a .dll file? 64 messages
How to build a C dynamic library with zig build on windows? 43 messages
create file without opening it 2 messages
stat absolute file path 3 messages
generics 12 messages
type '[*]xyz' does not support array initialization syntax 28 messages
Convert to pointer with lifetime 21 messages
is there any way to create union value with comptime name? 4 messages
Trouble trying to create a window using win32 63 messages
how to destroy while allocator is inside target pointer? 21 messages
Zig help 2 messages
LLD warning -- neither ET_REL nor LLVM bitcode 8 messages
std.json example doesn't work 11 messages
expected type '*fs.Dir', found '*const fs.Dir' 9 messages
C std 'system' function in zig? 16 messages
Standard Library New User
Async frames are too small 3 messages
cast `[]usize` to `[]u8` 13 messages
Debug build doesn't output stack trace on segfault. 6 messages
Compiler
Newer compiler broke my returning slices?? 16 messages
Compiler
newline for ? reason when working with windows string 4 messages
How can I use an usingnamespace inside a function? 57 messages
Compiler
How to sleep in current thread? 8 messages
'Dependency loop detected' with an enum combining values 14 messages
How to use HashMap to implement hashconsing? 3 messages
Recursive Data Structures 13 messages
How to use std.event.Batch ? 6 messages
Standard Library
bitCast size mismatch 22 messages
New User
broken LLVM module found GEP base pointer is not a vector or a vector of pointers 2 messages
Compiler
Latest master failing on M1 macOS Ventura 3 messages
why goes from untyped to typed pointer via int? 44 messages
how can i import libnotify correctly? 6 messages
'error unable to resolve comptime value' inside test 17 messages
New User
comptime return type?? 24 messages
Packed array 3 messages
Inline assembly works in C, but not in Zig 20 messages
Can you avoid re-defining a function param as var here? 12 messages
New User
align keyword 27 messages
Use pthreads even on Windows? 16 messages
zgl + mach-glfw loading extensions 15 messages
Defining HKEY_LOCAL_MACHINE aka ignoring pointer alignment 2 messages
How can I ensure an alignCast has no runtime overhead? 4 messages
Function type with type argument doesn't compile 5 messages
Recommended way to do type punning? 25 messages
How to get type name without parent namespace? 2 messages
The following command exited with error code 5 when building 11 messages
Packed union inside of a packed struct 25 messages