zig-help

21196 threads · Page 278 of 424

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