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