zig-help

21196 threads · Page 286 of 424

Reinterpret first 2 bytes of []u8 as a 16 bit struct 7 messages
what is this ? 116 messages
New User Answered
Comptime function name 11 messages
Deallocating arraylist of arraylist 30 messages
Answered
threadlocal variable corruption 14 messages
Compiler New User
why is this ? 24 messages
Answered
the zig datatypes 33 messages
New User
Compiler testsuite failures when building from source 3 messages
New User Compiler Answered 0.13.x
Compiling for RPi1 - `-mcpu` build option 3 messages
LLDB errors 6 messages
New User 0.13.x
`enable_build_on_save` with `zls` in nvim 2 messages
Answered
Comptime Question and Strings Question 15 messages
what is happening ? 110 messages
`zls` error reporting 17 messages
Answered
std.ArrayListUnmanaged(u8) -> remove range? remove range with swapback? 2 messages
New User
How to use switch on a string 26 messages
Node with undefined size of children nodes? 4 messages
0.11.x
Installing zig 10 messages
How to get legitimate micro-benchmark timings in Zig 3 messages
error linking glfw on windows 89 messages
Compiler 0.13.x
How do I debug build steps? 2 messages
Answered
When I try to use zig to compile gtk4 with Cpp, it failed 8 messages
How do you get "jump to definition" to work on VSCode with header files? 16 messages
How to create shared memory in Zig? 281 messages
Answered
Creating a Printer Struct/Object 7 messages
Every std.ArrayList({i32, i32}) is a different type. 5 messages
0.11.x
Allocator destroy in pop function gives error 14 messages
Do you know how to force tell zig the correct type of a thing ? 40 messages
Are slice ranges non-inclusive? 3 messages
How to Split a String 74 messages
Dealing with negative offset on usize 37 messages
How to generate a new Guid? 8 messages
CFB encryption not working 9 messages
How to compile cimgui 11 messages
How could I check whether a declaration is "const" or "var"? 68 messages
array of comptime strings? 3 messages
Answered
Allocator Error on ArrayList Creation 58 messages
Returning strings from functions 213 messages
New User
DarwinSdkNotFound 5 messages
New User
Split @embedfile into lines at comptime and have another array of strings of same length 3 messages
Many Item Pointer '[*]T' has no upper bound 5 messages
Answered
Moving from Python - basic libs question 5 messages
Mutable arguments for Zig function used for C interop 33 messages
0.11.x
What's the benefit of fixed buffer allocator? 8 messages
New User Answered
Is there any difference on using `std.os.exit()` vs `std.process.exit()`? 3 messages
Answered
are arguments guarenteed to be evaluated in order? 10 messages
Zig-like way to return an error / wrong usage 6 messages
New User
Zig-like way to return an error / wrong usage 6 messages
New User
error: expected vector of integers or integer tag type, found 'f64' 14 messages
Learning Zig/WASM/WASI 37 messages