zig-help

21196 threads · Page 125 of 424

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