zig-help
Best way to run my own code in a build step?
Answered
How to get `[]const u8` into a `[c*]const u8`?
Struct wrapping/aliases
0.14.x
which one should I go for
Answered
Having issues with putting a http.zig server up on localhost and my local IP as well
Issue setting up raylib
Answered
Why the alignment is off?
New User
Answered
0.13.x
type '[][:0]const u8' does not support array initialization syntax
0.13.x
Is it more common to use s `src` folder or not use a `src` folder?
What does "module.addSystemIncludePath" require for windows?
New User
switch statement on "strings"
New User
0.13.x
@typeInfo of type alias?
0.13.x
Generic reader to accept reading from anywhere.
Type info from allocator interface
Standard Library
`anytype` for Writer interfaces
Answered
Array initialization syntax on 0.14
0.14.x
Compiler
Answered
How to create slice programmatically?
New User
0.13.x
can I have a build step depend on content files?
Build System
New User
Answered
u0 Type Inferred from Integer Literal, RHS of LSH
Answered
C regex library
print in build.zig in zig 0.13.0
Answered
Is there a way to initialize a struct using values from an iterator?
Standard Library
Answered
0.13.x
Comptime arrays.
Understand return with Error
New User
Answered
0.13.x
Is there a nice way to: `while ArrayList.items are not all zero continue`?
std.posix.tcgetattr on Windows (realtime keyboard input)
Bitoperations and shifting
New User
Answered
0.13.x
How to assign result of multiline if/else to const?
How to use zls with zigup?
Help with `ArrayListAligned` writer
comptime known field
Compiler
Answered
0.13.x
0.13.0\zig.exe: InvalidWtf8
Build System
Answered
0.13.x
I don't understand exception 'error: incompatible types: 'fs.Dir' and 'void''
New User
0.13.x
Getting memory usage
Standard Library
Answered
0.13.x
How do you import SDL3?
How to call a function inside union field
Compiler
0.12.x
Top level build.zig to build/test subprojects
error: tuple field has a name
Compiler
How to create a slice from addr and length?
std.os.linux.inotify_event.getName() doesn't work / pointer issue
0.14.x
Standard Library
Answered
Save to develop with GPA and then release with c_allocator?
Compiler says variable should be declared, but it already is.
Compiler
The correct way to memcpy an extern struct out of a buffer.
Answered
Package Hash in build.zig.zon Changed Unexpectedly?
Answered
Create comptime type
Answered
anonymous struct casting in 0.14?
How to properly set up a zig project for vscode?
comptime call of extern error in raylib
Compiler
Answered
0.13.x
How to assign from switch expression if the case has complex logic?
How to import a github library into your project
New User