zig-help

21196 threads · Page 116 of 424

global variable contains reference to comptime var 6 messages
Answered
Beej's Guide to Network Programming but in Zig 18 messages
Storing a pointer to a writer 2 messages
Standard Library Answered 0.13.x
What is the layout of a zig binary? (aka. why is it so big?) 24 messages
Issues with custom test_runner.zig code in popular `websocket.zig` lib. 13 messages
Will this be supported in zig? 9 messages
Volatile array with `std.mem.copyForwards` 6 messages
Standard Library Answered 0.13.x
forced ? syntax on optional 4 messages
Answered
How to do defer only if no error? 3 messages
0.14.x New User Answered
Wrapping a c function necessary to change signature? 5 messages
0.13.x
Force compiler to generate specific access sizes only 9 messages
Compiler Answered
Can't find `stdio.h` when linking libc (freestanding) 31 messages
Convert C Makefile to build.zig 22 messages
Coerce empty multi-pointer to non-null optional 65 messages
New User
Specify target in `build.zig` 2 messages
0.14.x
can anyone help me with sdl? 11 messages
Zig cc target wasm32-freestanding linking issue 3 messages
0.13.x
packages that depend on packages? 8 messages
Error while building C executable 25 messages
How to make `zig build test` test all files instead of just main 52 messages
Answered
How works `ArrayList([]const u8)` 16 messages
Glfw surface function unable to allocate memory 3 messages
percent-encoding Uri.query component in .raw missing percent-encoding? 18 messages
Answered
Write to slice 11 messages
Program crash with only self-hosted 2 messages
Answered
How do you make a switch branch do nothing? 3 messages
Answered
How to convert *error{OutOfMemory}![]u8 to *[]u8 27 messages
How do you work around "zig save --fetch" not supporting ssh? 18 messages
Answered
Possible to define C macros alongside installed headers? 14 messages
Build System 0.14.x
AppConfig and TestConfig (for debugging) 19 messages
New User 0.13.x
Zig build on save file 6 messages
Answered
Not having interfaces, what is the simplest way to have a list of structs you can call `.draw()` on? 31 messages
Grpc Zig 2 messages
Thread-safe c_allocator 12 messages
Standard Library New User
How do I get the children and length of a folder in zig? 32 messages
How to get program metadata like name and version? 22 messages
Static constructors seem to be stripped? 2 messages
New User Compiler Answered 0.13.x
How to unpact union? 5 messages
New User 0.13.x
how to open a file? 73 messages
Enum unknown at comptime 37 messages
New User 0.13.x
Zig behavior 53 messages
Migrating from 0.11 to 0.13 - `cimport.zig` error 11 messages
0.11.x Answered 0.13.x
Naming convenction for unwrapped value 13 messages
New User
assertion failure spawning thread from function in zig library called by C executable 18 messages
0.14.x Standard Library Answered
How do compile glfw as a lib for zig? 29 messages
Statically link system libraries 9 messages
Help with a scalar print function with width and precision as additional args? 3 messages
Methods inside unions? 3 messages
Answered
endianness at comptime 6 messages
error: dependency on libc must be explicitly specified in the build command 2 messages
Answered