zig-help

21196 threads · Page 388 of 424

Question about iterators 6 messages
Answered
error: cast increases pointer alignment 3 messages
Answered
Idiomatic way to append string? 12 messages
Answered
error: unrecognized parameter: '-fno-red-zone' when trying to build an executable with build.zig 13 messages
Packed arrays? 18 messages
Answered
How to compare []u8 to string literal? 3 messages
Answered
How do I make this work? Appending elements to a three dimensional slice with `++` 11 messages
Link C Dynamic Library in build.zig and Override C Symbols in Zig 11 messages
youtube zig tutorial 3 messages
Type Coercion Issue; Is this a compiler bug? 6 messages
Doc comment typesetting? 11 messages
Answered
Building compiler on windows error 10 messages
Global c define? 23 messages
Answered
anyway to coerce ``@src()`` to a string literal? 13 messages
zig update 0.10.0 to 0.11.x dev on windows 3 messages
How would you access the type of a tag at runtime? 10 messages
Answered
when zig get 1.0 14 messages
mongodb in zig 23 messages
wasi _start function getting unreachable 29 messages
[solved] MachO Flush... warning(link): library not found for '-lglfw' 3 messages
how to read huge .gz (gzip) file 9 messages
json with dynamic field names 2 messages
packed struct initialization with []u8 memory area 21 messages
set type for specify a second capture value in "for" loop 2 messages
Answered
How do I write an int to file? 6 messages
Error with @as: expected type 'f32', found 'usize' in a for loop 8 messages
New User Answered
Shorthand create and assign 16 messages
Answered
Adding fields to struct at compile time 56 messages
Answered
How to call a batch file from zig build file 40 messages
Using C++ sources with Zig? 55 messages
Answered
Working example of bgfx with zig? 4 messages
Does ZLS provide completion for function pointers and zeroInit? 23 messages
Answered
How do I print unicode? 52 messages
wasi can't access env vars 39 messages
Why is v undeclared in this array of functions? 53 messages
Creating Zig bindings for C WINAPI library - LLD Link... error(link): DLL import library 18 messages
zig allocprint in build.zig cause error{OutOfMemory} 10 messages
New User
std.fs.cwd().openIterableDir() 2 messages
zig-bootstrap: Is there a way to compile a newer version of zig-bootstrap with the latest release? 5 messages
Compiler Answered
Why is const qualifier dropped in this case? 8 messages
Answered
Union and array of an unknown size / Howto? 56 messages
New User Answered
Wasm-freestanding with bulk-memory and atomics 2 messages
Standard Library Compiler Answered
Can't default init a struct? 75 messages
Answered
How does the dot operator actually work? 6 messages
Answered
promote comptime enum value to enum literal 63 messages
Answered
comptime string hashmap 8 messages
test exe @import("root") | root struct of file 'test_runner' has no member named ... 11 messages
Compiler Answered
UEFI wasm 7 messages
Define type of struct field at compile time? 15 messages
Tips for code generation build step 4 messages