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