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