zig-help
is there any way to make a tuple with variable-named fields?
How to correctly access ArrayList after it was invalidated
Standard Library
Answered
String comparison
Answered
HTTPS PUT file
How to use DLL created by Zig in Zig.
Problems linking a zig .obj with link.exe; automatic call to '__main' inserted when exporting 'main'
Compiler
?fn(?*anyopaque) callconv(.C) error with zig-imgui
expectError doesn't work?
Answered
Alternatives to tagged union?
New User
Answered
send a zig struct over the wire
How to pass as function's argument an array of u8 where the size is given by embedFile?
New User
Trying to make a Tree, but it seems I can't do runtime things.
New User
std.fs.realpath returns FileNotFound for file that exists
Standard Library
Segfault when compiling recursive struct
Why isn't that printing 3 times the same addresss?
Returning an inline function
WASM Memory Allocation insanely large for simple add() fn (1055136 BYTES!)
how to map an embedFile content to an array of struct?
Answered
What's the best way to have an unpadded struct with a fixed mem layout?
translate-c fails on fairly common C macro convention
zig prefer linking to static library rather than shared library
Is there something like bufferedReader where the buffer_size isn't comptime?
Standard Library
Allocator questions
New User
Unable to run the zig compiler without running it with 'sudo' on macos
how can i get the elapsed time of how long something takes?
Standard Library
How to get a file's UID and GID
Standard Library
no for loops?
Exporting symbols on wasm without -rdynamic
How to pause program execution?
WebAssembly, how to define extern console.log in zig?
New User
how do you print 2 things at once lol
Program not printing all words, yet can still be grepped?
how to rewrite build.zig to get 2 binaries under linux and under windows
Accessing struct field values by comptime-known field name
Array of structs overwritten?
Function accepts []const u8 but on providing it with []const u8, compiler prompts to add & operator?
Answered
Why fieldNames is not comptime?
Idiomatic way to import functions in struct (inheritance)
import of file outside package path
hi to all, is there a function in zig to convert an array into a string of separated commas
How can we get Zig to accept code with hard tabs?
Compiler
New User
Struct error 'does not support field access'
Compiler
New User
How can I get the path to zig-compiled standard libraries in the cache directory?
I trip over slices and fixed size u8 arrays
Compiler
New User
Compiling using Termux on Android produces errors
Compiler
weird sorta case where type inference doesn't work.
Compiler
New User
Answered
Initialize array filled with 0?
Answered
Runtime initialization of tagged union
Converting a u8 array to bufferedReader input?
Resources on learning how to write a streaming parser