zig-help

21196 threads · Page 305 of 424

Trojan Warning for zig.exe 33 messages
why no hashing for floats? 85 messages
Answered
Comptime encrypt int 27 messages
how give struct type field ? 55 messages
Mutating fields of reified structs 18 messages
Any way to specify the zig-cache path in zig cc? 2 messages
Deriving default value from another struct member 4 messages
0.11.x New User Answered
Idiomatic porting of C code with lots of #ifdefs 3 messages
New User 0.13.x
Is it undefined to cast a function pointer to one which has a different error set? 6 messages
undefined variables not checked 16 messages
Answered
How do you create an Allocator like interface? 16 messages
What is this code doing? (GeneralPurposeAllocator) 41 messages
What is the max_size argument in std.io.Reader.readAllAlloc? 6 messages
Question: Why are functions which are os-specific don't get error wrapper functions 12 messages
Can I force `std.testing.allocator` to not log/report leaked memory? 9 messages
is it possible to write tests to detect memory leak? 13 messages
`zig build test` but only run one test 5 messages
Answered
Generic type constraints? 9 messages
Answered
Working with events in Zig? 43 messages
How to redesign to fix this: comptime control flow inside runtime block 7 messages
return error or nan 2 messages
std.heap.GeneralPurposeAllocator doesn't have .allocator 3 messages
Answered
Is there a way of creating a jagged arrays 4 messages
New User Answered
Weird linker error in freestanding 20 messages
help make this correct 2 messages
New User
pointer error 10 messages
src/main.zig:4:32: error: expected type 'u8', found '*const [1:0]u8' 67 messages
New User Answered
raylib + raymath vectors aren't compatible 7 messages
gdb and zig core dumps 11 messages
Cast and fill array 14 messages
Does FixedBufferAllocator work on architectures below 32 bits? 32 messages
0.10.x New User
comptime only log error msg ? 4 messages
@compileError stack trace 5 messages
Compiler 0.11.x New User
how i read/move GPU local memory to CPU in vulkan ? 3 messages
raylib raygui macOS undefined symbols 15 messages
How to create array during compile time ? 3 messages
zig cc/c++: lld-link errors when using "--coverage" 4 messages
0.11.x Answered
Create slice of single item pointer 49 messages
Can I iterate over `[]const u8` as `[]const u32`? 4 messages
How to nicer anonymous functions? 4 messages
New User
bool to float 6 messages
wish for better error message 7 messages
Answered
Allocating "multidimensional"/nested arrays 3 messages
0.10.x
utf8 in stdout on Windows Terminal 4 messages
Answered
Hashmap storing ArrayList values 32 messages
Copy struct to mem and print out as hex 19 messages
TLSInitializationFailed when trying to send a GET request to some sites, but it works fine on others 16 messages
how do I write functions with parameter of generic type? 8 messages
not finding member function in struct 26 messages
Answered
Convert array/slice to another type 7 messages
0.13.x