zig-help
Document function parameter
Answered
Any way to get kerboard (arrow keys) input while inside terminal?
0.11.x
Assigning values to ?* fields
New User
Answered
how to return function from function
Passing compile time options into a zig program and using them
Include C Code in Package Module
what is undefined
New to zig setting up on VSCode Windows
Running a Zig file with 'zig run', which uses modules
Answered
I think the documentation about field order in packed structs is unclear.
Building executable from dependency
Getting the date and time of compilation as a value
Answered
0.13.x
Understanding for loop with an index of iteration
New User
0.13.x
Pointier to a tagged union
0.11.x
Widen a Vector
`Random.enumValue()` assertion failing for seemingly no reason
Standard Library
How to run with sudo?
Does zig have UUID generation built in?
Answered
How to understand this output? []const u8 vs [*c]const u8
New User
Updating/Redoing build.zig after latest update
Any good examples of new build system (modules, libraries, etc.)???
Correct way to shutdown a server with an infinite loop
0.13.x
create a cached file from a string and use it as the source of a module
How to build a test executable without running it?
How to do TDD in zig?
How to locate a slice inside its buffer?
How to cancel ServerStream.accept?
C interop array of pointers
`test_runner` cannot find my modules
Event system
How can I Switch on Error Sets, not Just Error Values?
Why does the memory leak in this code?
0.11.x
Answered
incompatible types: 'fs.file.File' and 'void' when trying to catch error for std.fs.cwd().createFile
Standard Library
0.11.x
New User
Answered
I am using vscode but openFile crashes if said textfile is not located in the workspace root
Middleware function wrapping
Answered
how to construct struct types at compiletime?
how do I profile a zig program?
LLDB Evaluate function call
What is the benefit to making structs Functions?
New User
Answered
Getting permission denied when trying to push to zig repo
Answered
Best way to make a proper (build.zig, std) Zig Project
Standard Library
0.13.x
Generated autodocs don't include my code, just std lib
Answered
Create file but fail if already created
Answered
addAnonymousModule removed
Standard Library
0.13.x
LLD Link... lld-link: error: section larger than 4 GiB: .data
[SOLVED] Zig unused variable NeoVim
Answered
0.13.x
convert std.ArrayList(u8).items to null terminated string for C interop
Answered
Get base struct from active union field using `@fieldParentPtr`
[SOLVED] Zig linked list memory leak detection in test
New User
Compiler
Answered
0.13.x
Compile type doesn't have addModule in the latest dev build? Help please!
Answered