zig-help

21196 threads · Page 303 of 424

comptime -> no field or member function named 3 messages
New User Answered 0.13.x
detect SIMD support 34 messages
Answered
Setup kernel stack using @call is not working 5 messages
Answered
Print with escape characters 32 messages
Why use @intCast when we have @as? 4 messages
Answered
A better way to implementing Affine Matrices 13 messages
Answered
Avoid `=undefined` pattern 37 messages
Answered
strange thread error 14 messages
Best practice for maintainable "interfaces" without dynamic dispatch 29 messages
Answered
Can I make structs have array initialization? 19 messages
Answered
Fetched dependency is empty 7 messages
Answered 0.13.x
Mocking [][:0]u8 in test cases 3 messages
`zig build run` spawns a crazy (?) number of processes/threads 43 messages
What am I doing wrong with getting converting a c array of u8s to a slice of f32s? 11 messages
Answered
handle error from main? 3 messages
Answered 0.13.x
Where is the documentation on how to use zigwin32? 11 messages
0.11.x
do packed structs pack inner structs? 46 messages
no field or member function named 3 messages
Answered
expected expression, found 'invalid bytes' 6 messages
build.zig can't find package manager dependency 118 messages
Answered
checking two structs are equal in a if statement 21 messages
cImport error when assert have messages. 2 messages
determine size of comptime_int and comptime_float 17 messages
Answered
Thread.WaitGroup 9 messages
Expected type expression, found '{' 20 messages
string to binary string 5 messages
Get currently active tag from a tagged union instance 6 messages
Test output seems to disappear after first run 7 messages
Answered
Is there any terminal progress bar in the zig library (like python tqdm) 9 messages
New User Answered
How to link rust library with zig? 26 messages
Answered
How to read a wide string prefixed by its length from memory 59 messages
0.11.x New User
map from enum? 4 messages
What's the best way to make a sort of comptime dictionary in zig 23 messages
Optionally convert enum from int 39 messages
Answered
How to Coerce ArrayList([]const u8) to []const u8 3 messages
0.11.x New User Answered
Translate C error regarding c_int and bool 3 messages
Answered
array sentinel initialization 6 messages
Answered
Writing C fn to call C++ cppunit tests 11 messages
is to assign variable different from chaining? 5 messages
Answered
is there a function in zig to calculate cpu ticks? 13 messages
Standard Library New User
Is this the right way to get a segment of an array by slicing? 2 messages
Answered
Fallible version of `@enumFromInt`? 3 messages
Standard Library
builtin vs std.builtin 4 messages
Answered
creating file at absolute path (and dirs if needed) 5 messages
0.11.x 0.13.x
struct array member size from previous struct member 13 messages
Answered 0.13.x
no module named ... available within module root 50 messages
Integer overflow while trying to patch jumps in a JIT 60 messages
Counting equal characters of same length string 3 messages
Answered
bug in `switch` or in MultiArrayList? 12 messages
Answered
string to int cast 5 messages
Answered 0.13.x