zig-help

21196 threads · Page 102 of 424

Thoughts on switching on strings? 4 messages
Iterating memory map problem 8 messages
master
Unexpected behavior on different release modes 4 messages
0.14.x New User Answered
Is there an easy way to initialize a tagged union (union(SomeEnum)) with a runtime-known tag? 3 messages
Answered
Thread panic when trying to call cimported opengl function from a module but not from main 5 messages
master New User Answered
Linking static c freestanding library windows 14 messages
0.14.x New User 0.13.x
Thread safe DB pool 2 messages
fetching cmake projects 23 messages
Answered
Infer type for struct variables 7 messages
0.14.x
Code unexpectedly works? 16 messages
New User Answered
pass constants from build to module 11 messages
Answered
Having a segfault in ArrayList when mutating memory in there 10 messages
Answered
division with 'i32' and 'comptime_int' 5 messages
New User Answered
@memcpy arguments alias 70 messages
build.zig LazyPath to installed Artifact 2 messages
Answered
Leetcode test cases for zig? 30 messages
Using std.sort / std.math.order? 7 messages
Legitimately confused at how to pass an array of strings to a function 39 messages
Answered
Read a json file 39 messages
Answered
GADTs? 8 messages
Answered
Call segfaults when not inlined 10 messages
0.14.x New User
Access of union field 'pointer' while 'struct' is still active 11 messages
emit header file 10 messages
-Dtarget= and cross compilation 7 messages
Inter-thread communication 12 messages
Answered
Storing a function and parameters to call later 3 messages
master Answered
No module name "x" in module test 67 messages
Answered
Coercing to slices 10 messages
New User Answered
debug print fails 4 messages
adding linker script to zig executable 4 messages
How do I turn an ?*anyopaque into an [*c]u8? 2 messages
0.14.x Answered
zig build stuck 8 messages
master
Tagged enum type erasure 31 messages
Answered
How does Zig's comptime propagate? 49 messages
Answered
Bitdefender acuses all executables built by zig to be Malwere 4 messages
Answered
truncating ptr in comptime 17 messages
Function that allocates locally only? 10 messages
Answered
Comptime enum inspection 9 messages
Strange "struct depends on itself" behaviour 10 messages
Does zig "replace" switches with comptime values in functions? 7 messages
0.14.x Answered
How to pass A LOT of `LazyPath`s to a `Step.Run`? 14 messages
Build System master
Function subtyping? 13 messages
Answered
Is there a way to catch asserts? 19 messages
Help with Seg fault 10 messages
Answered
@import("../<file>.zig") 15 messages
Build System 0.14.x Answered
`zig build --watch` doesnt do anything when file is saved (using vscode) 5 messages
Answered
C Program port to Zig and output differs, how to debug it? 44 messages
std.process.Child for Linux libs that don't link libc 9 messages
Answered
@embedFile and package paths 3 messages
Unexpected Value Mutation? 7 messages
New User