zig-help

21196 threads · Page 227 of 424

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