zig-help
Zig adding C source files question
Answered
VS Code's debugger capitalizes the first letter of the source file name
Hey everyone! 👋 I'm stuck with adding dependencies in Zig and could use some help.
Can someone explain me this error?
Standard Library
master
New User
Answered
Initializing a mutable slice
LSP crashing
master
New User
Answered
Using Zig Build, Error When Compiling Chapter 3 Program of LLVM Kaleidoscope Tutorial
switch on corrupt value
How to identify which line of code print stuff wrongly
reading from a file in 0.15.2
Answered
`@cImport` compiles successfully, but ZLS states that the file was not found
Build System
How to get doc comments from a type at compile time?
master
New User
ZLS crashes constantly (VSCode)
Answered
How to build a string at compile time?
master
New User
Answered
Am I using comptime right?
Compiler
New User
Can I wrote generic function to work basically as @intCast?
Answered
Machine-readable version of `zig build --list-steps`
Build System
Compiler
Answered
Are enum literal anytype arguments automatically comptime?
How to build master from sources?
Build System
master
New User
[solved] Mysterious segfault on `getOrPut` call
0.14.x
Standard Library
master
Answered
How to specify default alignment for type reification in 0.15.2?
How to avoid repeating the code?
master
New User
Io argument in the new File API
master
unable to resolve comptime value of generic structure
Compiler
New User
Test silently ignored
Build System
master
New User
problem with Windows API and pointer types
Detecting use of undefined variables with Valgrind
weird build cache behavior concatenating file names as cache key
Answered
std.Io.Group hangs with std.http.Client fetch
Standard Library
Answered
What is the best way to get a random u16 integer?
Standard Library
Answered
ZIR -> AIR of global assembly on SPIR-V
master
Compiler
New User
Struct layout
Answered
Placing output Directory content
Answered
Problem linking with system libraries provided by nix. `glib-object.h not found`
Build System
Answered
why are there differences between dll compilation and exe compilation?
Answered
Zig LSP: file extensions
Answered
why builtin.mode enum is PascalCase and any other enum is snake_case
Answered
Reader Interface
Standard Library
New User
Answered
How to read lines until a delimiter with a std.net.Stream.Reader?
how to access Zig code from C code?
0.14.x
Answered
memory leaks
Standard Library
New User
Answered
What's the correct way to use the new Io.Reader and Io.Writer with a std.net.Stream?
can't type anything into terminal
Standard Library
New User
Answered
my thread allocated stuff seems to be disappearing
Answered
Is this possible in Zig?
Help me debug small learning project
Answered
Pass Build Flags into Main File
What's the problem with this code in zig 0.15.2 and how can I fix this?
New User
Answered
build.zig dependency only if all tests pass
Standard Library
Answered
How to get the parent ptr from the item of an Array/Slice field?
Answered