zig-help

21196 threads · Page 318 of 424

Optional field is not null when using alloc.create with structs 6 messages
New User Standard Library Answered 0.13.x
How to change install directory of a build.zig artifact? 9 messages
How to properly cast external C data types? (shared library on linux) 11 messages
Compiler 0.11.x New User Answered
zig c++, libcxx, _WIN32_WINNT and targeting windows 7 24 messages
How to get *usize instead of *const usize 4 messages
New User
Questions about Function Types 12 messages
Can I use a `connectUnixSocket` `stream.reader()` with `std.json.parseFromTokenSource()`? 12 messages
Answered
how do addLibraryPath and linkSystemLibrary work? 3 messages
Are there more std.net docs? 6 messages
Type casting and left shift issue? 3 messages
New User Answered 0.13.x
Is there anyway to `unwrap_or()` a `?Type` in Zig? 5 messages
is this unsafe behavior? 45 messages
New User
I can find very little information about the various allocators. Where can I get more info? 484 messages
Answered
default initialize struct that owns an array whose size is determined at comptime 5 messages
New User
Want to understand this code, can we compare chars like this? 5 messages
Clang Assertion failure in translate-c? 2 messages
Answered 0.13.x
Generating fields in a struct 8 messages
Custom out folder 2 messages
Unable to resolve comptime value inside struct 9 messages
specify shared lib output path (dll/lib/pdb) on zig 0.11 6 messages
Reading from socket, unknown length 30 messages
Answered
Is it possible to define `enum` Fields & Values in `comptime`? 7 messages
Answered
std.Thread.detach() - possible resource leak ? 15 messages
format 8 messages
New User
Weird errors when implementing doubly linked list 5 messages
0.11.x New User
OS Tag Switch-Case 2 messages
0.11.x New User Answered
Reuse JSON StreamWriter 4 messages
switch range for enum 2 messages
Using i32 to index a slice/array 17 messages
0.11.x New User
Is AutoHashMap or GeneralPurposeAllocator slow or am I doing something wrong? 39 messages
Standard Library New User 0.13.x
What's the @TypeOf("any string")? 12 messages
Answered
avoid allocator 46 messages
Answered
translate_c shadowing declarations AnalysisFail with Linux kernel headers 10 messages
Answered 0.13.x
Custom Build Steps and Linker Scripts 11 messages
Answered
How to get best out of memory pools? 2 messages
Segfault and weird error stack 27 messages
Answered
How to determine what UB i'm hitting? 4 messages
Compiler Answered 0.13.x
"The paging file is too small for this operation to complete" 56 messages
Answered
An array of functions that have the same args/return value 6 messages
0.11.x New User
Small keyword parser in zig 16 messages
0.11.x New User
If error, run code before crash 7 messages
New User 0.13.x
"Segmentation fault at address 0x0" after a refactor I did 34 messages
New User Answered
Standard Optimize Option function doesn't work 5 messages
Answered
Dealing with translate-c errors when importing complicated headers via @cImport? 14 messages
Answered 0.13.x
How to get the size of a field in a struct ? 14 messages
Answered
How do I ensure that allocator used in init and destroy are the same ? 2 messages
New User 0.13.x
Proper way to format null terminated strings 14 messages
Answered
Zig allocator and freeing memory 64 messages
Output Path for Compile Step 3 messages
How to use STD types inside of a struct? 6 messages
Standard Library New User Answered