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