zig-help
incorrect alignment when doing pointer arithmitic
Linking static zig lib gives error: use of undeclared identifier
Answered
Arithmetic operations between two pointers
Answered
Can I load zon files in 0.11.0
How to break/return from `comptime {}` block?
Answered
How to link a module to an executable in `build.zig`?
Answered
Why does allocating a new struct not apply default field values
Help understanding this linking code / code base
New User
Somewhere there is an error and i have no idea where.
Answered
In-place array sorting
New User
Answered
handle enum from in error
Answered
How am I able to ceil an expression if it's value is only known at runtime?
0.11.x
New User
Allocator no longer being available after (seemingly minor?) windows API call
Standard Library
Answered
0.13.x
Error in compiling C Library: error: unused parameter 'Banks'
Compiler
New User
Answered
Style of this code
Answered
How to provide module's root source file as an argument during `zig build-exe`?
Answered
0.13.x
Oboi
having a weird bug
New User
0.13.x
Elegant slice element initialization?
Answered
builtins for the __FILE__, __LINE__ C equivalents
value is being mutated oddly
New User
0.13.x
Performance difference between returning ?u64 vs !u64
0.11.x
Compiler
0.13.x
Multiple `if`s with Value capture nested - simpler way?
Static site gen
Correct way to append pointers to an ArrayList
not sure why its const
New User
0.13.x
Reference zig-out prefix in code
When would I want to use std.fs.File.readToEndAlloc? It seems too slow.
How to link a static c lib
Answered
Comptime inference with expectEqual
How can i pull a number from a string using std.fmt?
expected type 'bool', found 'type'
Compiler
0.13.x
Data being trash after putting into `std.StringHashMap`
Compile time string obfuscation
New User
Compiler
Answered
0.13.x
Is it possible to iterate over a `[*c]?*anyopaque` without knowing the size? lol
Answered
Allocate generic type
Cross compiling to windows to create a DLL
Get current timestamp at compile time
New User
Compiler
Answered
0.13.x
is the standard tar archive extractor good enough?
How do you use std.Thread.Pool
Answered
Cross compiling an OpenGL program from linux to macos
Looking for advice on API design for Zig libraries. ?
Answered
override root of test_runner
New User
Compiler
Answered
0.13.x
Using ImageMagic C library in Zig
Need library at build time
how do multiple errors get handled in zig
New User
0.13.x
Specify folder with build.zig file in it for zig build being run outside of build.zig dir
Creating typeinfo at comptime
Answered
How to debug and profile a Zig program?
New User
Access on inner ArrayList of 2D Arraylist?
New User
Answered