zig-help

21196 threads · Page 244 of 424

array of slices of strings 12 messages
New User
Simplifying repeating code 53 messages
An inline else question 3 messages
anytype switch statement doesn't work 8 messages
0.11.x
Current autodoc usage guidelines (for library authors) 2 messages
Enum fields to string in comptime 6 messages
Integration with C libraries 3 messages
zig cc used for cross compiling set up for ci/cd 7 messages
0.11.x
"zig build-exe main.o" gives "lld-link: main.o: unknown file type" 6 messages
skill issue type conversion for loop 38 messages
New User Answered 0.13.x
What is the difference between these android targets? 18 messages
Answered
add C static lib as dependency to module export 9 messages
Answered
skip step depending on whether the binary build is cached or not 36 messages
0.11.x New User Answered
Linux namespaces and clone 4 messages
Error linking and using wlanapi.dll/.h 7 messages
0.11.x New User
error: import of file outside module path: zig 24 messages
New User Answered 0.13.x
confused how to append buffers 82 messages
error: import of file outside module path: 4 messages
New User
Using @TypeOf on error unions 29 messages
ReleaseFast disables std.log.info? 12 messages
0.11.x
Passing mutable variable from build.zig 6 messages
Exporting Aliased Functions 2 messages
Stream stdout from `process.Child` 30 messages
Can zig generate more code at comptime? 7 messages
Compiler Answered 0.13.x
Import order style guide 2 messages
Answered
Quick question on most idiomatic option 5 messages
Answered
orelse zeros string breaking Client.fetch 53 messages
Standard Library 0.13.x
Format for passing an option of type `[]const []const u8` on the commandline 5 messages
0.11.x Answered
-mwindows flag doesn't seem to work with zig cc 12 messages
zig cc -target for android? 48 messages
Answered
Is it possible to switch on tuples in Zig somehow? 11 messages
Is there a updated integration guide for using the Tracy profiler with Zig? 94 messages
Compiler New User Answered
skill issue when implementing DFT 131 messages
Answered New User 0.13.x
Problems accessing ZLS options in Cursor/VSCode 11 messages
0.11.x New User
Cross-platform ANSI Escape Sequences in Zig 5 messages
Is there a better way to refer to a struct field you're returning? 12 messages
Statically allocated const pointers 28 messages
Why is this code segfaulting when trying to free some memory? 6 messages
Answered 0.13.x
where is std.os.socket in 0.12? 7 messages
COM interfaces and usingnamespace 52 messages
How to link against compiled library 10 messages
New User
Converting a u64 to u128 yields a `panic: integer cast truncated bits` 12 messages
0.13.x
@constCast considered normal? 79 messages
Standard Library Compiler New User 0.13.x
Custom types for handles instead of pointers 22 messages
Zig not finding vcruntime.h 2 messages
About how []T arrays knows their .len value 2 messages
New User Answered
recursive union type 12 messages
Is it possible to distribute a comptime function as a binary? 4 messages
Compiler New User
Comptime output 4 messages
"cast discards const qualifier" error... even when it doesn't. 18 messages
Answered