zig-help
No field or member function named 'init' error
Standard Library
Answered
0.12.x
is this UB?
Answered
Copying file names and it's extensions
Answered
intended usage comptime struct fields
What is the proper way to pass these kind data to c function?
New User
Expected u5 on bitshift?
New User
Answered
Is it possible to install a dependency's artifacts?
a way to go from `[]u8` to `u8` in comptime function where `T` is `[]u8`
Answered
iterator issue with comptime
Answered
multithreading in freestanding web assembly
import in outside folder
Creating a slice from an array?
New User
Standard Library
Answered
0.12.x
Create unsigned type based on comptime_int
Answered
Allocate data of type and then free casted as anyopaque
Does anyone have a working patch for 19947?
Answered
Where is std.builtin.Type.XXXX?
Standard Library
0.11.x
Answered
for loop only returning *const [0:0]u8
New User
Answered
0.12.x
Emitted LLVM IR is HUGE
New User
Compiler
Answered
0.12.x
Is calling .allocator() twice on an ArenaAllocator meant to be unsafe?
Standard Library
New User
0.13.x
Comptime StaticStringMap of enum tags to enums
Standard Library
New User
0.12.x
How to use build options?
Build System
Answered
0.12.x
Should I clear the self pointer in a deinit function?
New User
Answered
0.12.x
Setting console mode in Windows fails in PowerShell
ziglings 058
0.11.x
New User
Answered
Build fails without error when assigning to tagged union(enum); exit code 1
New User
Compiler
Answered
0.12.x
Does zig cc and zig c++ -target x86_64-linux-gnu link all static except glibc?
Answered
UnknownHostName error when using zig fetch --save
Answered
LLVM Tools & Zig
Answered
How to get cwd path in zig 0.13?
Standard Library
Answered
0.13.x
Comptime segfault on recursive types
loading shared library run time
Intuition on allocation and copy semantics
Answered
Parsig zon file problem
make for loop variable type other than usize?
expected type 'f32', found 'f64'
Provide malloc / free to C from a zig Allocator
Is there a way to disable llvm (`-fno-llvm -fno-lld`) with zig build command flags?
Build System
New User
Answered
0.13.x
c interop bool vs c_int
Clarification on std.mem.readPackedInt
Standard Library
New User
0.13.x
how can I attach a chunk of code to run after a build.zig install step?
How do I configure the build system to copy asset files to the executable's location?
Build System
New User
Answered
0.12.x
Getting library to work with Zon
Build System
Getting llvm bitcode out of `zig build` instead of a native binary
Build System
New User
what allocator is mem.Allocator?
New User
including `libcheck` in zig build
A piece of code works in debug and releasesafe but not in releasefast
Answered
No std.fs.makePathAbsolute?
Answered
Format multi-line string
Answered
"Access of union field 'Pointer' while field 'Void' is active" Error in Allocator.zig
Compiler
New User
Standard Library
Answered
0.12.x
Understanding how slices are stored
0.12.x