zig-help
Data type for one key to many values
New User
Standard Library
Answered
0.13.x
error: UnexpectedEndOfInput trying to parse json file
0.14.x
Standard Library
Answered
Array literals: is `[_][]T` a subtype of `struct{0: *T, 1: *T, ...}`?
Answered
system calls in pure zig?
Answered
Check for []u8 type, string type
Is there any way to return a sortof "runtime constant" from a function?
Answered
Comptime and Function Pointer
Answered
mutable pointer not persisting when passed through anytype
Answered
0.13.x
Is it possible to override std_options when targeting WASM?
How do you use setCold for branches?
Answered
Is it possible to supply precompiled modules for dependencies in a build script?
comptime issue
Answered
zig fmt: multiline if statement condition
Answered
List all files in a folder when using WASM
Standard Library
Answered
Zig C Source File Caching behavior around -include
Build System
0.14.x
Compiler
New User
Accessing (non-global) state from a signal handler
New User
0.13.x
Comptime known bitcount ops don't return `comptime_int`
Compiler
SegFault When Building Master
What happens if I use u2 instead of u8?
Answered
Why does an atomic.Value doesn't require an allocator if it's a counter?
Answered
Creating a tests folder
How to create a global allocator?
Answered
Broken debugging line stepping?
0.14.x
Using @This on top level of file
New User
Answered
0.13.x
Convert from []const u8 to [*:0]const u8 without allocating
sqlite c error when doing simple query
add a i32 to a u64
New User
Answered
0.13.x
How do I multiply an int by a float?
Answered
list of generics with different types
Answered
Undependent file not found error
confused about slices and what im supposed to do with this data
Answered
Passing build options to raylib as a dependency
Build System
Answered
How to register ./src/lib.zig library to build.zig
Answered
Build system: download & cache arbitrary file
Build System
0.14.x
Answered
[solved] Create a copy of an object stored inside another, to return it from a function safely
New User
Standard Library
Answered
0.13.x
[solved] Is it possible to set an union(enum) to a different branch after creation?
New User
Standard Library
Answered
0.13.x
Any way to make c struct initialization less verbose?
Answered
fieldParentPtr for optional field
Answered
Codereview for Zig newbie
catch/switch - error: incompatible types: 'fs.File' and 'void'
New User
0.13.x
Memory leak using `pz.zig` when `pool.exec` and not with `pool.query` also using std.json.stringify
Answered
Update to pre-release version 0.14.0?
New User
Answered
Determine host's Target?
Channels in Zig
Answered
0.13.x
subslice of a slice?
zig.build for c/c++ project
Build System
how to output object file in build? (also in need of info on zig's build for wasm32-emscripten)
Build System
0.14.x
Answered
Best way to print messages to user from a CLI app?
Answered
How to iterate over iterator where `next()` returns `Error!?Entry`
Answered
Encode scalar value bits in a `usize`
Answered