zig-help
Questions about comptime
Compiler
Specify build-id when building shared library
Build System
0.13.x
Unused function paramter
Sparse Set Help
0.13.x
weird behaviour with LinearFifo readableSlice and discard
assign HashMap from heap to variable results in a copy instead of a pointer
Answered
0.13.x
Functions with potentially different return types
Answered
What is meant by "well-defined"?
0.13.x
ZLS not recognising vulkan_zig installed via build.zig.zon
Answered
Zig profiling resources (tutorial, example, tools) for performance optimization
Answered
Installing ziglua: no field or member function named 'defineCMacro' in 'Build.Step.Compile'
Answered
Constructing a compile-time array of unknown size
0.13.x
dev versions
Replace std.fs implementation
Build System
Standard Library
0.13.x
What happens if I use a `@Vector(8, f32)` on a 4-wide `f32` SIMD CPU?
Allocated Slices
Answered
How do I do inheritance in Zig without losing type safety?
Answered
pointer subtraction
New User
Answered
windows sendinput issues
Include local lib
0.14.x
Answered
I don't understand this syntax error in an IF statement
Answered
Question about c allocs in zig code
Lempel Ziv Welch encoding help
New User
Answered
0.13.x
GPA deinit fail on x86_64-linux
how to convert `[]align (1) const T` to `[]T`
How do you call a c function which expects an anyopaque?
Answered
Wrong comptime error location reporting
Answered
Hashmap of sequences of u8s
New User
Standard Library
Answered
0.13.x
Build.zig Compile main.cpp to exe
'*Build.Module' does not support struct initialization syntax
Answered
slice issue, wrong data
0.14.x
Convert []u8 to [n]u8
Answered
linking cmath
Build System
Answered
Detecting misplaced frees inside a function
Answered
Question: Zig Libraries
New User
0.13.x
Correct way to create raylib c arrays
Compile error does not point to actual user code
Compiler
New User
How can i add github library to my build.zig
Answered
Will this be supported in zig?
0.14.x
New User
How to deserialize JSON with an arbitrary key-value dictionary in it?
Standard Library
New User
Answered
"Not writeable" error that I don't understand. Help pls?
Idiomatic way to free a struct?
New User
Debug print to not print scientific notation for struct
Answered
interface with libusb
New User
0.13.x
lld-link issue with raylib
Answered
Why do I need to unpack optional in a while loop?
`.preferred_optimize_mode` value ignored by compiler
What's the cool zig way to check if the bits of an unsized int are all 1s?
New User
Answered
Resizing allocations
User struct using array initialization syntax
Answered