zig-help
ObjC block
What would be the easiest way to reverse a string in zig?
New User
Answered
Why does the zig stdlib prefer [:0]u8 to []u8
Why writer is only available for `ArrayList(u8)` not for `ArraryList([]const u8)`?
Answered
"error: switch must handle all possibilities" when all are handled?
Answered
does @setCold(false) actually mean the branch is hot?
Answered
This leads to undefined behavior, right?
Answered
`write` vs. `writeAll`
Standard Library
How do I use https://github.com/SpexGuy/Zig-ENet ?
New User
Is there a reason std.json.Parser isn't streaming yet?
size of [12]u1 is 89 bits, how is that?
Trying to set up a raylib project in zig with the package-manager
New User
Answered
zig built with zig-bootstrap hangs
debugging zig test
JSON parse field with two different possible types
Standard Library
New User
Answered
Why don't loop expressions need to have labelled blocks?
How to properly contribute to the Zig codebase?
Pass option to std.Build.addSharedLibrary / addExecutable etc
Answered
How do I set up auto complete?
New User
error: lld-link: could not open 'libuuid.a': No such file or directory
Compiler
Answered
Defining variable width structs
New User
Zig algorithms
Standard Library
New User
Answered
Calling embeded files from a lib
multiline string
convert [n]u8 to [*]u8
New User
Generic function definitions with callconv(.C)
system.sysctlbyname undefined reference on OpenBSD (current branch)
Standard Library
Compiler
0.13.x
Dictionary
convert POSIX C file descriptor to std.fs.File
Answered
Is type level static dispatch stable enough to `@ptrCast` between two types with same layout?
Memory leaks with the testing allocator, but I intend to use an arena...
Answered
Generate a file
zig cc not "dropping in"
comptime
Wrap a fallible function and make it infallible
Answered
Reading and writing to the Windows registry
New User
Convert from zig array [_] to [*c]?
Answered
Creating (and adding to) an array whose length is not known at compile time
New User
0.13.x
compiler bug? zig referencing seemingly non-existent functions when using std.json with >128bit ints
Standard Library
Compiler
Defining struct method outside struct namespace
Pointer Difference
Handle null values in struct that is dynamically filled
New User
0.13.x
How do I statically link SDL to a static library in zig?
Symbol not found despite including proper C header
using @TypeInfo to read a struct from a file without padding / with different padding
Answered
std.mem.Allocator.realloc
Standard Library
Converting Zig CLI command to build.zig for using C libraries
New User
Answered
Generic static function usage / Expected type
Strange build issue/error
Answered
Child sentinel many-pointer to optional sentinel many-pointer: `[][*:0]u8` to `[*]?[*:0]u8`
New User
0.13.x