zig-help
How to make this comptime concatenation of a string array work?
0.14.x
Answered
Not sure how to utilize existing C libraries
Build System
Answered
0.13.x
Error accessing stdout of RunResult
Build System
Standard Library
New User
Fix expected type error.
New User
Create function that accepts variable arguments?
Struct resets to defaults after `return`
Answered
Type conflict: lib.sub.type cant be casted to parent.lib.sub.type
Can I store a tree structure (with some sort of pointers) to a file on disk using Zig?
New User
Running zig-vscode from a local branch
Get file extension from file (string or handle)
Switch on types of module
0.14.x
Building zig from source defaults to cc (clang v15) instead of using clang v18
Get status code of child process launched with `b.addSystemCommand`
methods on struct
New User
Answered
0.13.x
Can I generate functions?
including functions from C++ lib with extern "C" in zig
Answered
big float
Answered
Ziglings 75 bonus exercise
Compiler
New User
Is there a compiler flags, switches doc?
Compiler
New User
Zig passes struct by reference instead of copying?
Answered
Module organization questions and best practices
New User
How to enforce naming convention?
Compiler
How to convert a numerial type to a []const u8?
Answered
what's the proper way to cast between int types in inline code
Answered
Why modifying a mutable variable doesn't work here?
Answered
How to get the offset of a slice from the beginning of the array it is a slice of?
Answered
Is there a way to evaluate enum methods at comptime?
Answered
Code Review: a CHIP-8 emulator I wrote to learn Zig
New User
0.13.x
trouble initializing std.Random.DefaultPrng (stack allocation?)
New User
Answered
0.13.x
Convert C++ float casting to Zig
New User
Iterating over a hash map
can't seem to be able to connect to NASA's horizons system using std.http
0.14.x
Standard Library
Casting fixed-sized array to dynamically-sized array
Answered
How to `@memset` a C struct?
0.14.x
Compiler
Answered
Switch over u8, using enum
Answered
regex help
Heap allocation not working within function
[]u8 from comptime string?
Strange "error: cannot format slice without a specifier (i.e. {s} or {any})" error
0.14.x
idiomatic way to wrap a c function that takes a callback
Answered
0.13.x
Confusion about UTF-16
0.14.x
Standard Library
New User
Format current epoch time to a human readable string
Array or Slice?
New User
C import fails
Debugging JSON Parse errors in zig.
Answered
Godot type Casting help.
Optional usage
Get build mode in code
Custom test runner
Answered
Confusion with const variable passing to non const function