zig-help

21196 threads · Page 88 of 424

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