zig-help
how to not optimize an empty loop?
New User
Answered
0.13.x
Is there any way to check if an element has been initialized?
New User
format function with vtable interface
Answered
Help with segfault
Answered
comptime-known value triggers "is runtime known" error
0.14.x
Answered
Zig build system for C++ project
Answered
Trying to read files with epoll
Passing arrays to functions
New User
Answered
Hashmap of allocated things
Standard Library
New User
0.13.x
`mem.readInt` works with arrays but not slices?
read text file at comptime
Type mismatch not getting flagged by Zig
is there a difference between `@import("builtin");` and `std.builtin`?
iterate object attributes to free
Answered
Linking errors while building compiler with LLVM
0.14.x
Compiler
Answered
How to pass a '[]const u8' string to a c-function that expects '[*c]const u8'?
New User
0.13.x
libc not linking when compiling for emscripten
Build System
Compiler
Answered
What is the difference between opaque and anyopaque?
Waiting for the first input on keyboard
New User
Answered
Multiple values with `std.mem.replaceOwned`
Answered
Static Array of Generic Elements in Struct
Answered
Why does this function need to be `inline`?
Answered
0.13.x
Initialize Matrix and all elements of it?
Answered
Using C Function that returns `anyopaque` and getting 'anyopaque' not allowed
Build System
Compiler
0.12.x
debug println
Export types in a library in zig?
New User
Compiler
Answered
0.13.x
What is the "idiomatix way" of doing these functions?
New User
Answered
Error with C macros (c_int and bool comparison)
New User
0.13.x
linker problem
Answered
`*.print` with sentinel
0.14.x
Standard Library
Answered
how to @call in a naked function
New User
Answered
0.13.x
how to import a zig file from another directory
New User
Answered
0.13.x
Trouble understanding compilation error
Standard Library
Compiler
New User
Answered
Understanding build step dependencies
How to write a file into a lazypath folder
Apply a .diff patch file to a repo after I cloned it from build.zig
[solved] Get the path to the zig binary that is running build.zig
Answered
extern packed struct
New User
Answered
0.13.x
Skip a Build.Step.Run when a file/folder exists
what's the idiom for exporting an error-returning zig function for C?
Answered
is it possible to print a string 'raw'
New User
0.13.x
`FieldIterator` looping infinitely?
Standard Library
Compiler
Answered
0.13.x
Confused when assigning to a heap allocated string
Answered
[solved] Strange output from std.debug.print
New User
Answered
0.12.x
[solved] Calling a custom compiler from build.zig for certain file types. How would it be done?
Build System
Answered
0.13.x
struct containing a FixedBufferStream?
Answered
Behaviour around functions and slices
Answered
Zig pointer error checking
Answered
signals
Syntax highlighting issues for imported modules with ZLS on Windows (VSCode)
Build System
Answered
0.13.x