zig-help

21196 threads · Page 348 of 424

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