zig-help

21196 threads · Page 191 of 424

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