zig-help

21196 threads · Page 270 of 424

Import Module From Other Module 22 messages
Custom json parsing with jsonParseFromValue 10 messages
zig build target is x86_64-windows-msvc, report error `error: lld-link: undefined symbol: strdup` 8 messages
Likely a compiler bug 14 messages
Answered
Determine if a type is from std 23 messages
0.13.x
error: lld-link: undefined symbol: _setjmp when cross-compiling a LLVM-based project from Linux 3 messages
Answered
FileNotFound when providing build.zig.zon 7 messages
Why it's not necessary for zig to link to libc in macos? 5 messages
std.mem.toBytes bad value? 22 messages
Pros/cons of set-of-local-packages project structure 13 messages
ZIG std.fmt Performance 32 messages
Standard Library 0.11.x
Format specifier for floats 2 messages
how to free memory from dupeZ ? 9 messages
Tried to implement a vector in zig 15 messages
New User
How do i method chain if a method returns an Result type. 14 messages
Answered
[error in code] error accessing returned heap value 7 messages
New User Answered 0.13.x
JSON structs may include Zig keywords 4 messages
Answered
Pass StringHashMap to a function 8 messages
Is it possible to parameterize `pub const pkgOption` during comptime? 5 messages
Appropriate use of tagged union? 30 messages
Answered
Simple compilations excessively slow and unoptimized 129 messages
Compiler Answered 0.13.x
[SOLVED] is there a way to put a `Request` body into a dynamic array 8 messages
0.11.x New User
Printing Pointers 4 messages
New User
Problem converting to new zig syntax (ptrCast, alignOf) 4 messages
Why does this incremental read work? 2 messages
Answered
error: root struct of file 'Thread' has no member named 'id' 3 messages
Answered
Computed gotos 8 messages
Simplify Imports? 3 messages
Is it possible to declare an enum value to span spans a range? 10 messages
testing.expectEqual and comptime expected value is fixed? 2 messages
Standard Library 0.11.x Answered
How to debug Zig with breakpoints and memory investigation? 37 messages
Answered
Confusion on returning an arraylist recursively? 30 messages
"exotic ints" (i.e. u17, i13, ...) use cases? 36 messages
Answered
No closures - how to implement performant recursive function with non-global state? 21 messages
Why can't zig detect if i already checked an optional for null? And is it a bad thing? 90 messages
How to download old Zig compiler releases (master branch)? 28 messages
Changes in the package manager 3 messages
cast type to byte slice and back 4 messages
Answered
.getStdIn().reader().readUntilDelimiterAlloc() breaks in Windows Terminal for even lengths 14 messages
Standard Library
zig-sqlite returning null values 2 messages
Garbled string issue 62 messages
Standard Library New User Answered
How would I compile the following with Zig? 4 messages
Compiler New User
exe.addModule 5 messages
Answered
splatting a bit into a full bitmask 32 messages
Am I the only one who finds this annoying? 15 messages
Looping through a singly linked list doesn't seem to stop correctly? 8 messages
Standard Library Answered
Compare slices of tagged unions 14 messages
where did main-mod-path go? 6 messages
Destructure imports? 5 messages
build.zig.zon git dependency with submodules 11 messages
0.13.x