zig-help
“expected field initializer” for struct
Answered
How to write dynamically sized json to a file?
Trying to understand comptime expressions
New User
Compiler
Answered
0.13.x
While loop being skipped on iOS
New User
Answered
0.13.x
A proper way to use literal values in test assertions
Max Array size in structures
Cast default value from StructField
New User
Answered
0.13.x
Create struct pointer with optional member pointer set to null by default
Answered
STBI image to SDL surface
Reserved keywords as struct field names
What is transitive failure?
zls autocompletion disappeared
Answered
When to use “interface” or anytype
How do you call a function only if the previous one succeeds?
Answered
Convention for private struct fields?
Modifying a struct
Struct lifetime is a bit confusing after reading the docs about Container & Static Local Variables.
New User
Answered
0.13.x
Add zig embedded submodule in build.zig
Standard Library
0.11.x
Order arrayList?
error: expected error union type, found 'error{OutOfMemory,SystemResources,AccessDenied,InvalidExe,F
0.11.x
Libc and std.os.system
how read a float from binary file?
Answered
how to typecast to std.io.Reader ?
New User
Where to find zig tarballs from previous days?
building forever
zig cc error: unknown file type
fixedBufferStream
Answered
Trying cInclude of a C library
is there any builtin function to split an array into small chunks of length n?
New User
Standard Library
Answered
0.13.x
Is this statement `const UI = @import("ui").UI;` a bad idea?
Issues linking to a dll
0.11.x
New User
Answered
Porting an SDL Emscripten example
New User
0.13.x
unexpected `panic: incorrect alignment`
error: 'stdlib.h' file not found when using Emscripten (and SDL)
Compiler
New User
0.13.x
Compiler bug or?...
passing many arguments
Answered
and, or, not
Answered
[Prob. SOLVED] Struct fn return type is struct's field type?
0.11.x
New User
Answered
Efficient message passing between threads
0.11.x
validate comptime struct creation
0.11.x
Array pointer negative index
zero init multi array
Answered
testing optional values
Answered
Parsing Array on JSON with Zig
Standard Library
0.13.x
I don't Understand the Test Behaviour
Compiler says `gpa.allocator()` expects 1 argument even though no argument is supplied on Ziglearn
0.11.x
New User
Javascript User is too stupid for this language
New User
Answered
0.13.x
Illegal instruction error when using C library
New User
0.13.x
How to parse json into ArrayList of structs
Answered
Not sure how to compare structs in a loop
Answered