zig-help

21196 threads · Page 395 of 424

Run Zig std tests with 'zig test' rather than 'zig build test-std'? 32 messages
Answered
ModPow implementation in std 3 messages
Answered
Running into a 'cannot store runtime value in compile time variable' error 23 messages
Compiler Answered
LHS of shift must be a fixed-width integer type, or RHS must be comptime-known 21 messages
Proper way to alloc memory for BoundedArray to use? 6 messages
Getting error lld-link duplicate symbol 16 messages
Answered
zig build addSystemCommand 11 messages
remove from hashmap during iteration 4 messages
tagged union interface function 2 messages
Is it possible to create a comptime macro that allocate on the stack? 17 messages
Answered
Help for linking a .dylib in macOS 4 messages
New User Answered
How to define pointers to at most 4 arrays of 64000 u8? 22 messages
Idiomatic way to deal with dynamic lists (ArrayList) in structs? 38 messages
Idiomatic usage of defer 40 messages
New User Answered
which zls vscode extension should i use? 5 messages
Answered
how to add libstdc++ 15 messages
Cannot allocate memory for single-member enum type 9 messages
struct calling format 8 messages
Answered
'Error cannot assign to constant' on a global var 7 messages
How reliable is zig test --test-filter? 6 messages
anyone used zls in vim? 26 messages
panic 'incorrect alignment' passing a `[]const u8` into `StringHashMap.get()` 15 messages
Answered
how to convert comptime_int to string 3 messages
Answered
macos ci job failure - is macos-latest an aarch machine? 2 messages
Answered
get tuple element offset in bytes 7 messages
Answered
Help with comptime generated string map? 41 messages
Why is this multi-dimensional array not correct? 27 messages
What does makePath do to the sub_path parameter? 12 messages
Standard Library Answered
if statement weirdness? 80 messages
Answered
Configuring zig fmt 4 messages
New User Answered
How I can see a complete list of available targets? 6 messages
Answered
Presence of a const only used at comptime? 6 messages
Answered
Tuple of types to array of types 11 messages
Coercion of &.{} to C pointer and many-pointer 29 messages
Answered
Make slice of length, from [*c]const u8, and a length? 5 messages
Answered
how to return an error with an error message 17 messages
Creating temporary file name 11 messages
Standard Library
arm asm to recreate c's vqtbl1q_s8 in zig 21 messages
Answered
How can I cast a type to a smaller one ? 19 messages
Answered
Operator shift 3 messages
Bringing specified types into global scope? 14 messages
Answered
Is it possible to know wether a type `type` is primive or not ? 7 messages
Answered
absInt over vector? 24 messages
Standard Library Answered
tagged union representation in memory 7 messages
Answered
UDP in standard library 5 messages
Answered
Passing arguments to build steps? 9 messages
Answered
Generate enum from union 12 messages
Answered
Does ZIG support Intel CET? 7 messages
what callconv(.C) means 39 messages
cannot nest cImport 3 messages