zig-help

21196 threads · Page 424 of 424

How to import file in build.zig if it uses a package created in build.zig? 4 messages
errors not traced 12 messages
Memory Management (learning resources) 58 messages
New User
Passing arguments to `zig build` steps 23 messages
Standard Library
Best way to differentiate output for different targets 14 messages
function returns in stage1 but not stage2?? 11 messages
Question on Async 52 messages
How to get the target string in build.zig? 32 messages
Idiomatic way to swap? 32 messages
New User
How can I convert []const u8 to u64 using casting? 12 messages
how about restore console termios flags (to canonical mode) before print crash trace? 5 messages
Compiler
how to use bufferedReader and bufferedWriter 17 messages
run code when there *isnt* an error 14 messages
print step graph from `zig build` ? 8 messages
is there an open issue for inline for with continue? 31 messages
Compiler
How do I run my exe programmatically in the build file? 7 messages
Can I specify CPU features from command line? 2 messages
Incorrect Alignment error with StringHashMap 49 messages
using []const []const u8 for os.execve without allocating a new string 26 messages
Zig support for OpenBSD 36 messages
standard way to provide error context? 10 messages
Replicating C++ new keyword in Zig? 11 messages
New User
Is possible to get a warning instead of error for unused variables? 4 messages
Is there a compiler flag to tell me about dead code? 9 messages
Can you catch a block? 23 messages
llvm 15, use of undeclared identifier 'LLVMPointerTypeInContext' 14 messages
.Optimized float mode 6 messages
Arrays in packed unions? 4 messages
How to change PKG_CONFIG_PATH in build.zig? 3 messages
How to link a C library when cross-compiling? 103 messages
zig build-obj in `build.zig` 178 messages
Best way to convert an int to string? 3 messages
first call to c function seems to be slow 23 messages
Is there a way to get the value of a struct field from its name or index at runtime? 7 messages
Condition variable broadcast not waking up all threads 95 messages
Standard Library
is there a way to check if T is ArrayList(anytype)? 90 messages
why does binary includes debug info without debug flags 3 messages
use compileLog with out stop compiling 4 messages
Concurrent ring buffer code review 4 messages
How to return richer errors 17 messages
How to test C backend 2 messages
Can't assign to anonymous struct field 10 messages
This() builtin include for pkgs? 15 messages
Can you create a method whose name is determined by a comptime known value? 3 messages
Suggestions on how to better represent this structure? 3 messages
(READ THIS FIRST) Welcome to the Zig Help Forum channel! 125 messages
New User Answered