zig-help

21196 threads · Page 184 of 424

std.io.Writer don't write struct correctly 3 messages
Answered
Zig musl compiled compiler? 9 messages
Compiler
Comptime in switch statement 3 messages
0.14.x 0.13.x
Equivalent zig code? 14 messages
How would I make a toString function for my Vector4 struct? 22 messages
New User 0.13.x
How to get the address of element? 12 messages
padding a string by a variable length 10 messages
Idiomatic way(s) to bounds-check on array and slice access 31 messages
Answered
BufferedWriter guidence 9 messages
Answered
Piping commands 6 messages
New User
Linker error: "Segmentation fault at address 0x1f230c01e70" 14 messages
New User Compiler Answered 0.12.x
Getting the linker to search through custom paths 5 messages
Compiler 0.13.x
Simple binary tree segfaults when using comptime-known function body 6 messages
New User Answered 0.13.x
Example repo to study for Zig Github build artifacts for: mac, win and linux? 5 messages
error: type 'u3' cannot represent integer value '16' 13 messages
Compiler Answered 0.13.x
question about threads 34 messages
NotOpenForWriting to stdout error 3 messages
Answered
How to store generic writer in struct 17 messages
Answered
How to de-allocate [*:0]const u8? 34 messages
Answered
convert []const u8 to [*:0]const u8 4 messages
strange behavior when calling sqlite from struct methods 25 messages
New User 0.12.x
Return reference to type union? 3 messages
Compiler New User 0.12.x
Sorting a string hashmap alphabetically? 4 messages
Answered
How to read cmap table 26 messages
How to get length of [*:0]const u8 ? 6 messages
Answered
OS if else like C in zig 4 messages
Answered
Getting .Fault from execvpeZ 22 messages
0.13.x
Arrays and Slices 22 messages
New User
Get the system font name 9 messages
Answered
Naming conventions for enums 11 messages
0.13.x
coerce []u8 to [*]const u8 12 messages
Answered
Read user input by bytes. 2 messages
TODO: lower @memcpy to a for loop because the element types have different ABI sizes 21 messages
how to `#ifdef` in Zig? 11 messages
Should I get rid of this global? (and if so, how?) 2 messages
0.14.x Answered
Calling arbitrary functions using runtime parameters 11 messages
0.14.x New User
Thread Pool Usage 35 messages
Zig FFI static hermes? 22 messages
Get the name of the build directory 3 messages
Answered
Type of generic JSON key-value pair array 9 messages
Standard Library Answered 0.13.x
How to free values in StringHashMapUnmanaged ? 7 messages
Answered
std.RingBuffer => std.heap.RingAllocator ? 18 messages
question about hashmaps 4 messages
Documentation for @import("builtin) 22 messages
unwrap multiple optionals in one if 13 messages
Answered
tips on getting a random seed with time? 4 messages
[mysql project] unable to evaluate comptime expression on generic callback implementation for rows 3 messages
New User Answered 0.13.x
Why does Dir.close sets the dir undefined, but File.close doesnt set the file undefined? 2 messages
Would a differently licensed component be accepted in the toolchain? 65 messages
Run wasm test 8 messages
Build System Answered 0.13.x