zig-help

21196 threads · Page 337 of 424

Exporting a .dll to run in a DAW 10 messages
New User Answered
Convert a Zig 2D array to [*c][*c] 12 messages
Answered
Figuring type of things 28 messages
New User Standard Library Answered 0.13.x
What return types are permissible for main? 4 messages
Answered
Specify the order fields of a struct are packed? 2 messages
Is it possible to pass "set" like data structure comptime? 18 messages
ZLS vs for loop 23 messages
Workaround for not being able to do packed union(enum)? 108 messages
Answered
How to get type of struct field without instance of struct 9 messages
Zig Console Input 3 messages
How is using anytype not function overloading? 26 messages
Has anyone created a way of building something into an .app for releasing on macOS? 5 messages
Cross compiling program with dynamically linked dependency from musl to glibc 15 messages
bootstrap compilation docgen run failure 68 messages
Compiler 0.13.x
Call default `format()` with custom impl 8 messages
Build system: install just one binary 4 messages
For loop not compiling? Basic syntax 4 messages
0.13.x
c-compilations flags in a build.zig file (using addCSourceFile) 4 messages
Iterating over rows of matrix/table stored as a 1D slice in for loop 7 messages
Answered
Running tests from modules 2 messages
New User Answered 0.13.x
Weird issue with floats (new to zig) 5 messages
0.10.x New User
Sane way to parse socket stream to ChildProcess.exec() args? 4 messages
New User Standard Library Answered 0.13.x
How To Return ArrayList Items from a function 78 messages
0.10.x New User Answered
Cairo - Zig buffer free 114 messages
Parsing JSON with dynamic field name? 12 messages
Answered
run artifacts and custom steps broken 7 messages
Compiler 0.13.x
anonymous list literal syntax 6 messages
Type @Vector does not support field access in for loop 7 messages
Answered 0.13.x
Type from [] const u8 4 messages
Answered
error: @bitCast size mismatch from [*c]const u8 to [:0]const u8 4 messages
New User Answered
Is there any general way to figure out how code would behave on a particular target architure? 16 messages
Answered
Can't write returned value to file with deferred deallocation 17 messages
New User Answered
what to do when Allocator.resize() returns false 21 messages
Answered
zig exercise 16 for2 48 messages
package manager cli interface 2 messages
Answered
retry until no error, catch continue? 19 messages
New User
Get SouceLocation of caller 5 messages
How does this still work? 2 messages
Answered
for loops and the zig formater are fighting with each other 2 messages
Answered
Convert [*:0]u8 to []const u8 6 messages
Answered
How to distinguish missing default from default = null? 16 messages
0.13.x
Is that possible to define struct fields based on 'build_options'? 27 messages
New User Answered
Capturing the return of idiomatic zig iterators, what's the best way to recursively advance? 4 messages
Standard Library Answered
How to prevent useless save/restore of a callee save? 25 messages
0.13.x
Iterating over ArrayList 3 messages
mulitple executibles with single build.zig (structs with optional fields) 19 messages
Answered
allocated array/slice to c function 5 messages
Answered
Labelling fields of an @Vector 10 messages
Size of optional integers 4 messages
Answered
getting env vars failing 18 messages