zig-help

21196 threads · Page 114 of 424

Enforce maximum capacity on ArrayList 5 messages
Answered
Calling continue inside a catch block 39 messages
Answered
Comptime known integer from a bit size 2 messages
Answered
Put a string into a u48 and get it back out (NaN-packing) 100 messages
Answered
is this a build thing or a "my code sucks" thing 9 messages
Answered
What are possible values of core `error` type? 13 messages
Answered
How to use build.zig to test? 6 messages
Build System Answered 0.13.x
Unit Testing: Checking if a function has been run 142 messages
Trouble wrapping my head around `cast discards const qualifier` 6 messages
New User Answered 0.13.x
[solved] Switch case on an anytype for slices. How? 5 messages
Answered
Does order of errdefer matter? 8 messages
New to Zig and socket programming...Trying to do UDP stuff 5 messages
How to use linker options in zig build system? 6 messages
Build System 0.14.x
Assembly Differences Between anytype and generics 5 messages
Answered
(SOLVED) std.Thread.Pool.spawn not working with comptime-known values? 23 messages
Question about packing u4s 12 messages
How to translate Zig string to C string? 62 messages
Answered 0.13.x
Sanity check on how I'm storing models loaded using raylib 7 messages
Answered
trigger test error without try block. Is it possible? 5 messages
could any one figure out where is the problem with this code 14 messages
Answered
catch statement not working 11 messages
0.14.x Answered
Lsp not giving any hinting 7 messages
New User 0.13.x
Correct way to retrieve "subfields" from struct types via comptime string 4 messages
Using build function from dependency 3 messages
How to add test folders to zig project ? 3 messages
Parsing well-known json at compile time 9 messages
Can I change dependency ConfigHeader? 2 messages
Compiler crash in anything other than ReleaseFast mode 23 messages
Compiler
Style Issue in the Standard Library? 27 messages
cannot import C lib 5 messages
Problems setting bitmap header size using win api 5 messages
Answered
How to iterate with a pointer just like in c? 4 messages
how to add define symbol flag for my C header file 8 messages
how to print a character as a string 5 messages
Answered
What is the bool type in Zig, and why can't I write it in a struct to file? 5 messages
Answered
zig not recompiling with changes 2 messages
Compiler
Retrieving the size of an instantiated struct object 5 messages
Answered
what's this linker error mean? 14 messages
Initialize array of strings on struct field 9 messages
Answered
Compiling with -Doptimize=ReleaseSafe makes application simply not work anymore! 6 messages
0.13.x
Check if a variable is printable? 5 messages
Answered 0.13.x
Using a string from a struct field in std.comptimeFmt 4 messages
0.14.x Standard Library Compiler Answered
write and read data to and from storage that isn't text? 11 messages
0.14.x Standard Library New User Answered
How to create compile_commands.json using zig? 5 messages
Monorepos/building multiple binaries and (optionally) sharing a common, third folder 11 messages
Build System 0.14.x Compiler Answered
Different outputs by inline assembly style(?) 13 messages
Answered
How do you create a std.ArrayList(anytype)? 55 messages
self not being passed by reference when it should? 3 messages
0.14.x New User Answered
Fetch multiple files when building 2 messages
Build System 0.14.x New User
calling Swift from Zig 5 messages
0.14.x