zig-help

21196 threads · Page 385 of 424

How to make a tui? (on linux idk if thats relevant) 8 messages
Trouble using the builtin SinglyLinkedList 20 messages
New User Answered
build.zig: how to make a module with dependencies 33 messages
Answered
extern struct size mismatch 53 messages
Compiler Answered
opaque aligned type? 3 messages
Unclear error on option unwrap 19 messages
New User
Example on how to use the new `addSharedLibrary` API? 2 messages
Replacing a simple Makefile with build.zig 76 messages
Answered
usingnamespace seems just to not work 10 messages
Compiler New User Answered
zig.pm SSL certificate expired? 8 messages
Answered
interface to inet_ntop? 12 messages
Any simple examples of using new "Build.zig" (i.e. with modules, instead of pkgs, etc)? 16 messages
Problem passing ArrayList via C with anyopaque* 3 messages
Answered
determine whether there is more data to be read from a std.io.Reader 4 messages
stage2 convert to C string 2 messages
Compiler
zig build no longer works with project 4 messages
Answered
Debugging no output of the zig compiler (possibly a compiler crash?) 17 messages
Compiler New User
Error when trying to @cImport libuv (uv.h) 12 messages
Help Understanding "pointer host size" Concept in Zig 13 messages
Answered
Make a variable volatile? 7 messages
Answered
Is there any overview of recent Build changes? 15 messages
Answered
No field in struct? 5 messages
New User
Passing allocated memory to C, "@bitCast size mismatch" 8 messages
How to pass a multi-dimensional array to a function? 14 messages
New User Answered
Is there a function to run a shell command in the background? 30 messages
Sigaction equivalent for windows 2 messages
Is stdlib mature enough to build https proxy in Zig? 12 messages
Functor for sorting static array at compile time 17 messages
Comptime matrix multiplication 9 messages
How loop over all enum values? 34 messages
Answered
How to read the rest of a TCP connection stream? 65 messages
wasi exports to write to file 27 messages
Accessing current system time 9 messages
Standard Library
Trying to build a shared library to load into a Lua repl 4 messages
Answered
macos ventura on m1, zig installed via 'brew install zig' > 'zig build' throws 'Error: AccessDenied' 15 messages
Access internal data during compile time `WASM` 49 messages
Why don't struct fields need decls? 20 messages
Answered
Having issues compiling code to WASM 9 messages
Thank you Zig Discord server 2 messages
Making type definition visible outside of switch block 11 messages
Answered
Is it possible to concat two anon structs? 45 messages
New User
Viewing slice contents in VSCode debugger 4 messages
Answered
`comptime` slices 51 messages
Answered
Implementing allocator 5 messages
Standard Library
How to write back over a TCP connection? 20 messages
Lack of fallthrough and translating from C 8 messages
Why doesn't Zig see the type of this struct property at compile time? 12 messages
Answered
Question about OS socket programming 4 messages
Answered
How to iterate through anonymous list literals that has no type? 161 messages
What exactly does it mean to have a pointer to a `comptime` object? 3 messages
Answered