zig-help
Using @call to call member function of struct
Answered
Pipe child process's stdout into a buffer
Learn Zig or C
Run 'test --summary'
Answered
Building executables from subdirectories
Am I dangling? Strange behavior when c_ulong is converted to slice.
New User
0.13.x
`zig fmt` is collapsing braces in unintuitive ways
Build System
anytype and coercion
Answered
Tagged union which contains itself?
New User
Answered
0.13.x
Best way to "reset"/clear a BoundedArray
Build C and Raylib project with Zig
Build System
New User
Answered
[Solved] Memory error when export/import Json and custom struct
Standard Library
Answered
0.13.x
Is that the right way to check the extension of a path?
any builtin/std way to slice integers?
get return from thread
Expected type *array_list but found *const array_list
Weird behavior in ArrayList (0.13.0)
[solved] How to join string++char++string at comptime?
Answered
VTables and dynamic dispatching
Check that a type is a number?
Answered
casting struts
Answered
0.12.x
Is there a way to work with non-homogeneous collections?
Answered
AOC 2023 day 3 part 2
[solved] Help fixing an old file glob function. Missing std.fs.cwd().openIterableDir
Answered
how to iterate a .next()
Answered
Why isn't it possible to make an array with the len of two other arrays?
What's the simplest way to convert a character to a string?
Answered
zig cc: any way to show the default target triple?
Tips to make temporarily commenting out code for debugging purposes faster?
`std.process.Child` leads to panic?
[json] stringify enum as it's integer representation
Is it possible to define additional namespaced functions for aliased types?
Answered
[solved] Simplifying code for an optional value
Answered
[solved] How to get the N-to-last item of a slice/array?
Answered
Learning Zig by creating a parser
New User
Answered
0.13.x
Passing a generated `LazyPath` to `addCSourceFiles`
Is there a simpler way for formatting?
0.13.x
windows.h not found when cross compiling
Deduping a list
Getting pointer of returned value (@constCast)
Answered
From `u128` to `u48` and `u80`
Answered
How does one get the size of an enum?
Segfault
Custom allocator for C++ code?
Answered
Is std.time.Timer legally copyable
Standard Library
Write a tagged union without specifying a separate enum?
New User
Answered
0.13.x
[solved] Merge two enums into one type. Possible?
Answered
How can I improve string concatenation?
Standard Library
Answered
0.13.x
Cast []const u8 to [:0]const u8
New User
Answered
anonymous functions
Answered