zig-help

21196 threads · Page 118 of 424

Can we assume the free/destroy calls will be optimized out? 3 messages
Keep or remove dealloc when allowing arena allocator? 3 messages
Restarting zig-libgit2 4 messages
How do I test that a function pointer was called? 13 messages
Answered
Error lead to crash even though, I used catch. 86 messages
0.14.x New User Answered
Stdin.reader() error 4 messages
0.14.x Standard Library New User Answered
SIMD for short strings 18 messages
Answered
Am I using getEmittedH() wrong or is it just broken right now? 8 messages
0.14.x Compiler Answered
comptime known arg length 3 messages
Compiler Answered 0.13.x
custom liker args 2 messages
0.13.x
Understanding errdefer in functions that return void 51 messages
How to write comptime code with static string for create union variant 54 messages
[zig cc] Does zig cc supports clang equivalent --target=x86_64-unknown-elf 5 messages
Compiler
Is there a way to run a command on runtime error? 34 messages
Answered
How to make a step to capture a Tracy trace 3 messages
Show callsite in @compileError() 27 messages
0.14.x
String to Enum error with union(enum) 7 messages
Answered
ArenaAllocator leaking memory 43 messages
Standard Library Answered 0.13.x
Compiling from source stuck at zig2 target 10 messages
Answered
Intellisense 16 messages
Answered 0.13.x
Why is "unreachable code" being run in std? 9 messages
Getting an error in the dependence I saved 5 messages
Compiler
what is []const []const u8? 5 messages
New User 0.13.x
Expected 1 argument(s), found 0 for generic struct taking *This as first argument 8 messages
0.14.x Compiler Answered
pointer to struct and byte offset of method. 35 messages
Debugging on Windows 17 messages
0.14.x
Remove field(s) from a type 5 messages
0.13.x
Does this work? 5 messages
StaticStringMap 10 messages
Compiling Eigen library example for Baremetal riscv64 using zig build 24 messages
Build System New User 0.13.x
How to do a microbenchmark? 10 messages
messed up environment variables for compiling zig from source 13 messages
Answered
How do I make a function like this, but working? 17 messages
Answered 0.13.x
Why am I seeing a comptime error? 14 messages
invalid local symbol '' in global part of symbol table 5 messages
Build System New User 0.13.x
struct of arrays lib and whether to inherit alignment 9 messages
I'm looking for a mentor who can help me learn Zig. 8 messages
Answered
Building zig docs 26 messages
Build System 0.14.x Answered
How import and use a header file in C 14 messages
addLibrary causing duplicate symbols? (master) 2 messages
recursive method signature 22 messages
Answered
How do initialize a threadlocal that needs an allocator? 33 messages
Answered
code review - AOC 2024 9 messages
Pointer returned from `HashMap.getPtr()` is causing a segfault 45 messages
0.14.x Answered
zls (vscode) doesn't recognize import properly 7 messages
Build System 0.14.x Answered
init mutable string 7 messages
Answered
vscode Command not found 11 messages
Answered 0.13.x
What's wrong with this code? 3 messages
New User Answered
Unable to spawn thread 24 messages
Standard Library
remove package installed with fetch 7 messages