zig-help
How can I build a C project without linking libsystem
Build System
0.14.x
New User
Generate binding from comptime?
What to do when one release mode doesn't work?
Answered
Is this a good way to filter an arraylist?
0.14.x
Standard Library
Answered
compare a `?union(enum)` to see if it matches a specific tag
add dependency for cImporting raygui
Build System
0.14.x
Answered
packed structs static array member
0.14.x
How do I define a default null value for a struct field?
0.14.x
New User
Answered
Struct field default value if the type is optional.
Answered
Resolve []const u8 or *const [X:0] u8
Answered
Parsing json value with hashmap inside
Can I do tagged union with default values?
Answered
C_Allocator usage
"Parse Don't Validate" newtypes in Zig
Answered
Creating a safe wrapper for an inherently unsafe C library
Answered
is it possible to catch the error of multiple statements in one shot?
Answered
Early exit and lazy evaluation
Help designing a packet registry and abstraction
Can I add custom command to zig within a dir with build.zig?
Answered
zig fmt destructuring on multiple lines
recent master regression?
Answered
Zig unordered map
Standard Library
Answered
Why would I want to use print() instead of write() for writing to stdout?
0.14.x
Standard Library
Answered
Using the build system instead of `@cImport`/`@cInclude`
Build System
0.14.x
Is there a way to run `addTranslateC` and importing the translated module directly in `build.zig`?
What does lib.root_module.addImport do?
General protection exception
0.14.x
New User
SegmentedList iterator
How can I import files outside of the module path?
Answered
Is there a better way than spamming try?
0.14.x
Answered
[os-dev] external and packed struct
0.14.x
create an array with comptime.
Compiler crash on v0.14.0
0.14.x
Compiler
Answered
When do I need to use |*payload| in Zig?
Answered
How do you build a library for android on macOS?
Trying to get zig-curl working on Windows, running into null ptr issues
When will StringHashMap.fetchPut return a null value?
0.14.x
New User
Answered
Is there any reason why atomic.Value is an extern struct?
Standard Library
Answered
b.fmt -> LazyPath
Linking error when trying to use Raylib
Answered
How do I set the cwd of a run command to be in the installation folder?
What is a good way to organize imports?
master
How do you output a date in zig?
Whats a good way way to automate build number incrementing?
Can you do comptime selection for android?
number of distinct values in int
Answered
-O ReleaseFast probably produces slower code that -O ReleaseSmall
0.14.x
Compiler
New User
Answered
naming conventions for projects with multiple binaries
errdefer vs defer, do I need both?
0.14.x
New User
Zig save ArrayList(u32)