zig-help

21196 threads · Page 231 of 424

Convert in 1 line instead of passing by a temp value 3 messages
Answered
How to identify the error position with only these info during test? 13 messages
New User 0.12.x
Custom linker command with object 8 messages
Answered 0.13.x
Detect memory leaks with c_allocator 8 messages
0.12.x
`link_libc` and syscall wrappers 15 messages
Standard Library New User 0.12.x
guarantee over validity of pointer-past-the-end of a slice 50 messages
Updating to 0.12.0, should @memcpy or std.mem.copyForwards be used to replace std.mem.copy? 7 messages
return address to stack memory, should this fail? 19 messages
Is it normal that zls cannot show errors sometimes? 14 messages
New User 0.12.x
Multi-threading in Zig 7 messages
New User Answered
managed vs unmanaged 9 messages
New User Standard Library Answered 0.12.x
syntax 244 messages
New User
How to get node value from zon file 3 messages
Install artifact to non-prefix path 16 messages
0.12.x
Get union field type 3 messages
Answered
[SOLVED] building with or without zig build system 14 messages
New User Answered
Cross Platform Programming - Platform Specific Code 123 messages
0.12.x
How to free memory from fs.readToEndAlloc? 3 messages
New User
Is it possible to use std.sort.insertion with std.packed_int_array.PackedIntSlice somehow? 40 messages
Standard Library New User Answered
Comptime operation is runtime due to operand... but operand is `type`! 43 messages
0.12.x
Building raylib-zig for Wasm "error: unable to spawn mkdir: FileNotFound" 6 messages
New User 0.12.x
Is it possible to cast bytes to []u32 in big endian mode? 16 messages
What's the difference between these two declarations? 20 messages
New User
Reasons to avoid storing errors? 9 messages
Read contents from folder 10 messages
New User Standard Library Answered 0.13.x
Linker flags in Zig build 4 messages
Are these two statements equal? 3 messages
New User Answered 0.12.x
Unable to find package panic 5 messages
windows async: detect I/O completion port running full or restrict it to certain job unit events 13 messages
Standard Library 0.12.x Answered 0.13.x
How to set command line arguments, for testing purposes. 2 messages
Content of []u8 is mysteriously overriden when passed by parameter 14 messages
0.12.x
Running function using comptime function name 11 messages
Answered
Discerning if a type is an instance of a generated type 64 messages
0.12.x
How to match on []const u8 in compile time switch statement 20 messages
Adding dependency | build.zig 6 messages
Change value in [][*:0]u8 2 messages
Answered
Problem with lazy dependencies 13 messages
Standard Library Answered 0.12.x
Question on ownership when cloning 22 messages
FixedBufferAllocator and an ArrayList in a Struct 3 messages
New User Standard Library Answered 0.13.x
Running `zig build test` is stuck at run tests step forever 2 messages
Answered
zls fails to resolve cimport 34 messages
Answered
Inscrutable error while parsing JSON 6 messages
Transform for each element. 3 messages
Answered
Zig build: possible to add directory of C files, instead of individually? 2 messages
Early return with nullable 13 messages
Can you have both a capture, condition, and increment in a while loop. 6 messages
Init const array on compile time 5 messages
std.os.getenv is unavailable for Windows because environment strings are in WTF-16 format. On 0.12.0 5 messages
Compiler and language server don't properly display errors. 6 messages
Compiler New User 0.12.x
Can't call member function on struct initialized struct 7 messages
Answered 0.12.x