zig-help
0.14.x using libc in browser target after libc for freestanding support removed
Answered
std/fmt.zig: error: too few arguments
Standard Library
Compiler
Answered
0.13.x
Sending for loop tasks to Thread.pool
Creating a compile-safe Log2Lookup table.
Assign packed struct to number
Answered
How to define enum flag
Answered
Are there functions like inet_pton and htons?
New User
Standard Library
Answered
0.13.x
incompatible types: '*const i32' and 'comptime_int'
Answered
opaque practical use case
New User
Why fixed buffer allocator does not maintain previously allocated memory
Answered
How to catch a !void error.
GitHub Action Windows Error
error: no field named 'default_value' in struct 'builtin.Type.StructField'
Find max enum value
Answered
is it possible to "anytype" some cases of a switch ?
Answered
Threading issue
Learning Zig from Go. Switch on String Value
Get name of Module
Answered
help with Stream in std.net
New User
Standard Library
Answered
0.13.x
Issue importing local library in executable
Build System
New User
Answered
0.13.x
Idiomatic way to format error messages
C library causing compilation issues
Build System
why c version work but zig don't
Target is unavailable
Is there a way to conditionally add cDefines within cImport?
Build System
0.14.x
How can i create a struct that has a buffer field?
0.14.x
New User
Answered
Stringifying (json) a StringHashMap
Answered
Error on std.fs.cwd().stat()
Standard Library
New User
Answered
Functions and allocator in function arguments.
New User
Answered
0.13.x
var r: T = undefined, then setting fields anyways in std.json
Zig from Source undefined symbols
Build System
0.14.x
Compiler
New User
How to resolve the compilation errors on Macosx?
Is there a standard or popular logging API that is not based on string mushing?
Could this actually be a compiler bug?
Compiler
Answered
0.13.x
aro does not support compiling C objects yet
Help with null sentinel on an array of pointers.
union(enum) partial inline?
Simpler way to iterate items reference of an ArrayList ?
New User
Answered
0.13.x
Replace start.zig
Standard Library
0.13.x
"array" file not found compiling C++ to wasm32
How do I convert a dynamically created zig string into a c string?
New User
Answered
How can I add flags to the executable created by the compiler in Zig
Redirect std.debug.print to my own terminal/console
0.14.x
Standard Library
New User
comptime type checking
New User
Help with stdout
New User
Standard Library
Answered
0.13.x
What indicates a compile-time execution in the snipet?
Compiler
New User
Answered
How to pass arguments correctly to c.scanf
New User
Answered
0.13.x
how to print stacktrace?
Answered
u32 to u8[4] without relying on bitwise
Answered
0.13.x
Undefined symbols __zig_probe_stack and others
Answered