zig-help

21196 threads · Page 394 of 424

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