zig-help

21196 threads · Page 382 of 424

Test Statement Error? Error message said it was looking for a statement but found test. 6 messages
Answered
How to speed up understanding and writing code in zig? 15 messages
Debugging on windows neovim 4 messages
How to create reference to array in switch statement instead of a copy? 57 messages
Answered
ziglings - error code 1 3 messages
New User Answered
Naming conventions: init, deinit, create, destroy, etc 12 messages
Answered
[vscode] Your system isn"t built by our CI! 18 messages
New User
Best practice for where binary and lib from zig-bootstrap should go? 5 messages
New User
comptime_int, arrays, and many-item pointers 47 messages
Answered
How to translate C enum to Zig enum 35 messages
New User Answered
llvm ir output for zig inline functions ? or godbolt assembly maybe?? 13 messages
How to reduce translate-c output size? 2 messages
When will language proposals be back on the table? 3 messages
Unable to evaluate comptime expression | operation is runtime due to this operand 15 messages
Answered
Is this possible to generate function name in comptime like in C? 15 messages
Answered
What is the internal Zig callconv, or where can I read about it? [ANSWERED] 10 messages
Why slice with comptime known end creates pointer to array? 10 messages
Answered
Reading build options from a configuration file 7 messages
allocSentinel not reading to buf 6 messages
Syntax for array of constant pointers to a struct type? 124 messages
Answered
How to write a [256]i32 buffer to a file? 13 messages
New User
Better way to do this? 5 messages
Answered
dynamically read file to buf 6 messages
Answered
Help with sema code 161 messages
Compiler Answered
usingnamespace @import("..."); not working. 7 messages
switching on string, my hack needs improving 99 messages
Answered
Is there way to prevent the build system from compiling a library when none of it's inputs change? 19 messages
Answered
How do I cast a u32 or f32 into a u8 buffer 24 messages
Answered
Is there an ArrayList equivalent that just operates on size/alignment instead of types? 30 messages
Answered
About the rate of issues opened vs issues closed 35 messages
Answered
adding custom commands to build.zig 2 messages
Standard Library
Include all tests in package 31 messages
How to do out of root dependencies with zig? 7 messages
Answered
Accessing a buffer as []u8, []u16, []u32 4 messages
zig reporting incorrect hash in build.zig.zon 11 messages
Answered
How do I use a lib as a dependency for my app and for one of my libs 5 messages
error: ld.lld: undefined symbol: std::__throw_bad_array_new_length() 10 messages
Can you chain functions that ret error unions? 8 messages
Answered
Parse []u8 to big.Int 2 messages
Answered
Why can't I take a slice of a single item pointer? 103 messages
Compiler Answered
Returning address of Allocator.VTable 7 messages
Answered
Call C function with varargs 4 messages
Get struct field address relative to struct 2 messages
Casting a const pointer to non-const 10 messages
Answered
Typed number literals? 2 messages
Answered
Is the result modifying a variable that's being captured defined? 7 messages
Answered
Export llvm-c to wasm using zig? 439 messages
zig build Cache API 10 messages
Answered
What is this noreturn? 35 messages
New User Answered
zig build run* commands not running 11 messages
Answered