zig-help

21196 threads · Page 399 of 424

return anonymous `struct` declared in function definition 3 messages
`zls` doesn't infer the types sometimes? 10 messages
Function to copy everything from a reader to a writer 10 messages
Answered
Live feedback with `zls` in `vscode` 8 messages
Allocating Stack memory 4 messages
Standard Library
how to use gl.DrawElements of zgl 3 messages
Answered
Confusion about storing buffered writers in a struct 9 messages
zig way for env vars 8 messages
attempted static link of dynamic object 17 messages
Compiler
General Opacity Question 13 messages
wasm shared memory 13 messages
user input to a null terminated string 5 messages
sizeOf optional types 14 messages
zlib stream writer 10 messages
cant compare strings 5 messages
Why doesn't [*][*]T coerce to [*c][*c]T? 25 messages
Extract Union value by tag? 4 messages
New User
Generic Reader in struct 16 messages
convert []const u8 to []u8? 9 messages
Standard Library New User
Get absolute path of file 23 messages
can the call intrinsic take a comptime parameter? 3 messages
Answered
`Incomplete symbol table` when linking a Golang static library built for macOS 2 messages
get current timestamp at build time 5 messages
How can I setup a callback when thread is destroyed? 23 messages
ub from iterating over undefined array? 10 messages
Is there any good reason to use std.Atomic over the builtin? 6 messages
Iterating Over HashMap to Free Keys 9 messages
Help logging allocation error 100 messages
Using a SplitIterator as a function parameter 5 messages
method expects wrong args 21 messages
Is there a way to find the original index from a slice? 5 messages
embedFile requires known size? 12 messages
Why comptime function produces a runtime value? 26 messages
How to debug a comptime function? 3 messages
Why does the Allocator interface require the size of the memory block to free it? 5 messages
Zig equivalent of C99's designation initializer 16 messages
Zig build - How to find library Path? 8 messages
raw string literals? 152 messages
Does Zig ship other system libraries than libc? 20 messages
Compiler New User
`Allocator.allocBytes` gone? 4 messages
Standard Library
Async function crashes with interface 25 messages
`std.debug.print` is changing my `fmt` string? 43 messages
stack memory 4 messages
idiomatic zig way 3 messages
Suggested way to cross-compile for Termux on Android? 7 messages
Program crashed when reading file with [1] 54755 illegal hardware instruction 7 messages
Issue with const stuff 14 messages
Debugging on Windows 16 messages
Answered
intToFloat doesn't work on a vector of integers 3 messages
Cast array of vectors into an array of the vector's underlying type 4 messages