zig-help

21196 threads · Page 213 of 424

Read from []u8 as i8 6 messages
New User Answered
Help. The data structures! 7 messages
Map typing 7 messages
Answered
What is the expected way to have an absolute path in build.zig? 34 messages
Answered
import version from build.zig.zon 4 messages
Answered
How can I return a corrected value from a catch |err|? 3 messages
Answered
still not sure how to detect amemory leak 12 messages
Debug and freestanding debug symbols 2 messages
Answered
Interfacing with C: Writer wrapper for printf-like function 26 messages
Answered 0.13.x
copy memory 8 messages
Answered 0.13.x
integer overflow 6 messages
Why does Zig compiler recompile std every once in a while? 21 messages
How to get the path of the file that caused an error when using std.fs.Dir.Walker? 33 messages
Standard Library New User
Custom set implementation in recursive union 31 messages
will `self` copy be optimized away in release? 4 messages
Answered 0.13.x
indexOf Count 8 messages
0.13.x
Usingnamespace not exporting tagged union 7 messages
0.13.x
Arraylist Segfaulting 11 messages
evaluation exceeded 1000 backwards branches & MultiArrayList 37 messages
@OffsetOf() with comptime-generated field names 33 messages
New User Standard Library Answered 0.12.x
How is this even possible? (`std.Thread`) 204 messages
Standard Library New User 0.12.x
GenericWriter and writer.writeAll 54 messages
0.14.x Standard Library Answered
Casting structs 7 messages
0.13.x
error: no field named 'path' in union 'Build.LazyPath' 2 messages
Weird build issue when dependency is a sub path. 160 messages
Compiler
Gettings errors out of stdout/stdin writer/reader 2 messages
0.13.x
Build: testing if system has a program installed with minimum verison 11 messages
Build System Answered 0.13.x
How to generate pseudo random number in zig version 0.13.0? 2 messages
New User Standard Library Answered 0.13.x
inline hash function 3 messages
Answered
Error reading from stdin 15 messages
0.13.x
comptime code injection 2 messages
Answered
where did red_zone go 8 messages
Answered
Equivalent of __attribute__((constructor)) ? 8 messages
New User
What determines what struct is at the home page of the zig docs? 22 messages
Confusion trying to implement a custom allocator 19 messages
Answered 0.13.x
The naming of `std.math.maxInt` and `std.math.floatMax` 4 messages
Standard Library
What is the best way to parse a posix.sockaddr into a net.Address? 15 messages
Answered
bitmath type issues 4 messages
Updating a struct that is passed as a function parameter 9 messages
Is std.fmt.allocPrint() the standard way of concatenating strings slices at runtime? 53 messages
Answered
How to assign many-item pointer to struct field 5 messages
Answered
Raylib: Segfaulting when loading a model 27 messages
nvim: zls opens buffer on save if there are errors 6 messages
Answered
Is there a way to derive the child type of a vector as a return type? 24 messages
Answered
interface with variable error set that can be empty is annoying, any way to cope? 22 messages
Switch block error or return 3 messages
0.13.x
Is there a reference on what standard library calls work with a freestanding system? (w/o syscalls) 6 messages
0.14.x Standard Library Answered
Convert tuple to veradic 2 messages
0.13.x
Problems C standard library when building a raylib project for wasm32-emscripten 11 messages
Answered 0.13.x
Convert string slice to [*:0]const u8 5 messages
Answered