zig-help

21196 threads · Page 220 of 424

Is this a bug in assignment to an optional? 63 messages
Fixing leaked memory in `while` 16 messages
New User Answered
Expose enum from library 2 messages
"No field named path in union.BuildLazyPath" 7 messages
New User
Working with [*c] pointers 12 messages
Answered
Using reserved words as struct field name 6 messages
getting function parameter names using @typeInfo(Type) 17 messages
Answered
I don't get switch error handling... 19 messages
I've got my addition to std.zip working but i have little experience with PRs or even git 68 messages
Standard Library New User
Free after re-assignment? 10 messages
Answered
Use cases for pointers in Zig compared to C 32 messages
New User
New --release flag vs -Doptimize= 6 messages
0.12.x
Help using local dependency insteaf of cached 3 messages
Better pattern I should use? 5 messages
Answered 0.13.x
file namespace not struct 2 messages
Answered
Zig C++ to Freestanding WASM32 7 messages
error when building capy template 30 messages
Common practices when writing tests expecting compilation failure 9 messages
New User Answered 0.12.x
Writing a JSON parser 33 messages
How to use glibc's strptime()? 15 messages
Answered
cglm error: lld-link: undefined symbol: glm_mul_rot_sse2 18 messages
Build System New User Answered 0.12.x
Help, No idea how to name this... 2 messages
Answered
using comptime to build assembly strings 12 messages
Answered
Removal of multiple items from ArrayList 8 messages
Answered
Where does zig configure how zig cc and zig c++ -target works? 2 messages
Build System Compiler Answered
Build: capture & "forward" system command error output 85 messages
Build System 0.13.x
Setting inputs and outputs for system commands that don't take the inputs and outputs as arguments. 13 messages
Tuples as build options. 70 messages
Build: cache result of system command (run only if input file changed) 14 messages
Build System Answered 0.13.x
How to deal with error conditions early in development? 13 messages
Answered
Using build.zig to replace cmake for a large Fortran project 7 messages
Build System New User
using `-mcmodel=medany`, for zig sources from build.zig 5 messages
Answered
What is the simplest way to get a float result when dividing integers? 3 messages
New User Answered 0.12.x
is there a better way to declare a bunch of fields with the same type? 38 messages
How to actually use a module after `zig fetch --save`? 70 messages
How to write a test for a generic function? 2 messages
New User Answered 0.12.x
How to use `zig fetch` with GitHub URLs? 7 messages
How does the zig compiler resolve the types of variables? 29 messages
Compiler
Build script for OS bootloader and kernel 190 messages
Standard library and a time in the future 8 messages
Standard Library Answered
Help with slice initialization inside struct 4 messages
Answered
Calling C code from Zig 16 messages
New User Answered 0.13.x
ArrayList of string 4 messages
Answered 0.12.x
create string comptime 17 messages
Answered
Zig error ccess of union field 'valArr' while field 'val' is active 47 messages
New User
is there a convention for describing which version of zig a project is built against? 12 messages
Answered
@intFromFloat panic: integer part of floating point value out of bounds 49 messages
New User Answered 0.12.x
Failed to import DLL 21 messages
Build System New User 0.12.x
Help with Aarch64 inline assembly 96 messages
OR operator in a struct, how to ? 18 messages
New User