zig-help
"C import failed. note: libc headers not available" when using zig run
New User
Answered
std.mem.splitScalar throwing unclear error
Trying to parse JSON into a nested struct
Standard Library
New User
0.13.x
Pre-preheated arena allocator
Standard Library
Answered
Is there way to not optimize my function?
How to set a default value for struct fields with @Type
0.14.x
Automatic FixedBufferAllocator?
Answered
panic: incorrect alignment w/ map
Answered
0.13.x
How to know the proper alignment when building a UnionField?
New User
Answered
0.13.x
Comptime function generating at top-level?
New User
Answered
0.13.x
Using lazy dependencies that are only required by a certain step
Zig errors on compilation with GenericPoison while implementing a simple Cache
Answered
0.13.x
Getting file extension of a std.fs.File instance
Answered
Project Layout and build.zig
Build System
New User
How do you use a package after fetching it?
Empty slice `ptr` value
Answered
Deserialize json array
How to know if the type was produced by a generic function?
0.14.x
New User
Answered
Is there a way to access/see module's functions from within a module?
Build System
0.13.x
Genericize switch for tagged union
New User
Answered
0.13.x
Zig in Fortran, I don't even know
Standard Library
New User
0.13.x
I cannot for the life of me comprehend zig arrays.
Answered
cannot assign to constant
New User
Answered
Is this a dangling pointer?
Answered
Error union is ignored
Answered
temporary ref
What is the equivalent of `--no-entry` and `--export=<function>` in the zig build system?
Build System
New User
Answered
0.13.x
addAssembly "error: expected absolute expression"
Answered
How to use dinamic libraries?
Build System
0.13.x
Read File Stream Too Long Exception when only searching for single delimeter (\n)
Include/exclude fields of a union in comptime
how do i get seconds as f32 from u64 nanoseconds
Answered
How to catch !void
New User
Answered
0.13.x
comptime_ints are confusing me in If block
0.14.x
Compiler
Is it possible to test the value of a packed u32 against a u32?
file_namingConvention
Answered
New User
0.13.x
Why am i able to access the container level variable without using pub keyword ?
Differences between builtin functions and normal functions
New User
0.13.x
What is the type of an imported module
directory iteration
New User
Standard Library
Answered
0.13.x
Comptime radix tree compilation error
New User
0.13.x
How to convert u8 to integer ascii value?
Pass array of strings to a function, compare and return a bool value?
Comptime Access Nested Struct Fields by Name
Answered
error with websocket.zig
Does zls not catch function argument type mismatches?
Fix zig mismatch
undefined symbol
Answered
comptime help
Answered
0.13.x
Importing Zig lib into C lib.