zig-help
zls not detected in PATH
New User
Answered
0.13.x
How free an Array with string inside
What is the zig way to get the path to the project test folder?
How do you create a 'set' and add strings to it?
How do I remove items from an array while iterating it?
Will this feature be added in Zig?
Answered
Allocating all at once, contiguously
How to write a pointer to a HashMap
Answered
thread pool spawn, errorable function
Answered
Why calling destroy on self from struct method, couses Segmentation fault
New User
0.13.x
*const T
avoiding nested try statements
Answered
0.13.x
How do I use a local library?
HashMap and ArrayHashMap differences
Answered
Getting build errors to show in VSCode
Answered
Casting anyopaque pointer to a struct type:
idiomatic way to pick types during runtime?
How do you create a 'string'?
[solved] Official grammar.y file: What language is it using?
0.14.x
Compiler
Answered
0.13.x
Explitic hint to differentiate comptime const from runtime const
0.14.x
0.13.x
[zig cc] unistd.h isn't reflecting the targeted glibc version
Answered
"safe" and "unsafe" versions of functions
0.14.x
Answered
Questions on naming conventions for types (and type-ish things)
Is this booting correctly?
Import `build.zig.zon`
why leak?
Answered
0.13.x
Zig random numers aren't random in debug builds?
How to do bit extension in zig
Answered
Pass env vars when building C
Build System
New User
`@Vector` zero-extend/sign-extend
Static dynamic-like dispatch
Answered
0.13.x
is there a way to parse a [:0]const u8 into a []const u8?
0.14.x
Standard Library
New User
Answered
compile a c program like ffmpeg in zig
Answered
reading file contents at compile time
Standard Library
Answered
Get typeInfo of struct field
How do you return a comp time fixed length u8 string?
streamUntilDelimiter's EndOfStream error prevents loop from processing last line
Standard Library
Answered
0.13.x
[solved] How to add EOF character at the end of a []const u8 string
Answered
Can multiline strings be formated?
0.14.x
New User
Answered
Print formatting changes if bytes are appended vs formatted directly in std.debug.print
Standard Library
New User
Is there a way to get function name as a string?
illegal instructions when friend runs my exe
Answered
Dependency on sub-directory of git repo
Build System
0.13.x
parse bool from cmd args
Checking if a binary exists in PATH?
Answered
Problem creating ArrayList
dynamic generic function types
Hang at end of test run using raylib
Answered
0.13.x
how do i do a c style memcpy from one *anyopaque to another? manually specifying the size.
Standard Library
New User
Answered
Is there a way to declare a comptime fn?