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