zig-help
Pass slice into function and modify elements
New User
Answered
Using objects' in-memory address as an identifier.
Answered
how can i get the size of the contents in a txt file?
comptime call of extern function (SDL3)
Answered
How to pass data b/w 2 modules that each need to include the linked library?
inline asm constrait
how to format a string
Answered
Zig assuming an integer literal (8) is a u3, and then erroring.
Easy way to convert a C function definition to a Zig one
0.13.x
how to get zls working in neovim?
New User
Panic in custom build step
Answered
How to get an integer of arbitrary bitsize in comptime?
Answered
How can I declare a function return type that returns a generic struct of any type?
Ziglings 047
0.14.x
New User
Answered
Unable to get glfw working with zig
New User
how do you specify precision formatting at runtime?
0.14.x
Standard Library
Answered
Wasm memory allocation and de-allocation questions
Answered
0.13.x
how can i safely cast a `*const [N:0]u8` to `[]const u32`?
0.14.x
Standard Library
How to use standardOptimizeOption?
error with allignment
0.14.x
Standard Library
Answered
Using the Windows headers in LibC with build
Build System
Standard Library
New User
0.13.x
how to make not run at comptime
Test build: conditionally run some code in app?
Answered
check struct has property?
No builtin function for bytes -> ascii ??
Standard Library
New User
Running CMake via build.zig to build glfw
Build System
New User
Answered
0.13.x
Sparse constant arrays
New User
Answered
workaround
0.14.x
dynamic 2D array
Answered
Do I need to align nested structs too if my goal is packing?
How to Declare a Variable that Aliases a Register
C# style multi-dimensional indexing?
New User
i got recomended to ask here
how to store array of tagged union
struct vs array + enum question
Zig Pointers
0.14.x
New User
Answered
Copy from type to byte array. (type '*const u16' is not an indexable pointer)
Answered
Is there a way to check if a field name needs to be wrapped in .@"" Syntax?
0.14.x
Answered
use build options in main code
How to align 4 byte function ptr?
Where am i leaking memory?
0.14.x
Could i get a u62 function ptr?
is there a way to get the project name from build.zig in main.zig without exporting it ?
Answered
Access struct member without passing self or closures?
New User
Answered
convert `[*c]u8` to `[*:0]u8`
0.14.x
Answered
proper way to get build target when you're a module
Answered
`alloc.dupe` generic type which could be `[]const u8`
Answered
What did `std.math.intFittingRange` become from 0.12 to now?
Why does this code not work from 0.12 -> ~0.14?
linking glfw and vulkan
Build System
0.14.x
Standard Library
Answered