zig-help

21196 threads · Page 219 of 424

ZLS issue with VS Code 3 messages
New User
Zig Packages - check into main repository 10 messages
Problem in using allocator.dupe() or @memcpy 23 messages
Answered 0.12.x
Hot reload files 2 messages
Access private variables within one project 10 messages
Answered 0.12.x
Data structure for ring list? 10 messages
Standard Library Answered
Getting compiler output before linking 5 messages
Answered
How to cast ArrayList before allocation? 3 messages
Answered
How to manage numbers greater than `u128`? 9 messages
Feedback on these iterators I made 41 messages
0.12.x
capture caluses 8 messages
libcxx upgrade (to LLVM 18) breaks code 2 messages
Does zig has an something like `indexOfNearest` in its std lib? 2 messages
Zig test not showing details of passed tests 7 messages
Answered 0.13.x
Can one use code from a build.zig.zon dependency directly in their build.zig? 2 messages
Answered
File.writer().any() 36 messages
can we not iterate two iterators together in the while syntax? 42 messages
defined uninitialised memory 94 messages
Answered
How do i enable the New Compiler in build.zig? 17 messages
Build System Compiler Answered 0.12.x
Map over optional 5 messages
Answered
flatten nested values 6 messages
Answered 0.12.x
Using objdump -S on a Mac binary does not display source code 23 messages
Resolve Circular Dependencies between modules with a comptime parameter 13 messages
Build System 0.13.x
Help with Type error in Simple Linear Search algorithm 27 messages
Is there a good way for a library to target multiple Zig versions? 4 messages
Answered
Allocation comptime error 62 messages
New User 0.12.x
zls lags when opening a file 7 messages
New User Answered
zig build run fails on second run 14 messages
Build System Answered
Compile for different GLIBC version? 3 messages
Answered
How do I provide compiler flags for included C files 13 messages
New User Answered 0.12.x
GPA allocation comptime error 3 messages
New User Answered 0.12.x
I want to concatenate 2 strings (paths) at runtime 9 messages
New User
initializer of comptime only struct must be comptime-know 7 messages
sdl error handling 18 messages
Answered
Combine two enums during comptime 22 messages
Answered
How to tell an @intCast the type of a for loop iterator (0..) 13 messages
Print zig source file that was generated in build.zig (for debugging) 7 messages
Answered
How to create indenting using a print format string 56 messages
Where is memory for slice 2 messages
Answered
comptime error but where am I using comptime? 16 messages
New User
Inconsistant behaviour when using `@intFromPtr` in comptime 13 messages
Answered
help understanding approach to freeing ArrayList data with arena allocator 3 messages
Answered
c-translate bug or unrepresentable? 81 messages
read directly from the stack 13 messages
How to use C libraries imported via their and your build.zig.zon's 50 messages
How to get process arguments without std? 86 messages
Returning a function from a function 3 messages
New User 0.12.x
Std Hashmap key ownership 100 messages
Is there a way of seeing the resulting comprime expanded Code? 7 messages
New User Answered 0.12.x
Polymorphism through tagged unions 4 messages