zig-help

21196 threads · Page 162 of 424

Can I reuse an allocator 2 messages
0.13.x
How to copy an item from a slice without assigning it to a new variable 19 messages
0.13.x
Properly handling streamUntilDelimiter data 13 messages
New User Standard Library Answered 0.13.x
How can I link SDL2 for my pure C project to build with Zig build? 26 messages
Answered
LLVM Emit Object takes a lot of time 2 messages
Build System 0.14.x Answered
`@memcpy` from comptime to runtime value segfaults? 61 messages
Compiler Answered 0.13.x
std.rand inside structs 36 messages
Access violation debugging help 58 messages
Answered
32 bytes to int 11 messages
Weird rendering issues with OpenGL 15 messages
0.13.x
Segmentation Fault after calling a function from DynLib.lookup() value 13 messages
armv5te optimizer is completely broken 60 messages
Compiler Answered 0.13.x
struggling to mutate instance of struct from member function. 10 messages
New User Answered
ascii graphics 3 messages
Zig raylib Hot-Reload 19 messages
How to check if a value is comptime known? 9 messages
How to capture switch payload and use it in if statement 9 messages
Answered
std.builtin.Type int 8 messages
Answered
Is this the right way to create a custom Shared Library and use it? 10 messages
Compile Zig compiler to wasm 2 messages
Compiler
How to imply compile time arguments 3 messages
Answered
Having problem solving ziglings 54 15 messages
Answered New User 0.13.x
How do I `zig build` a simple C source file? 5 messages
Build System New User Answered 0.13.x
Zig test runner captures stdout and stdin from a test function. 2 messages
Call stuct `init` in runtime 5 messages
Fields and decls share the same namespace in 0.14.0-dev? 2 messages
Answered
I need some suggestions for my code 8 messages
Answered
includepath 2 messages
Build System New User Answered 0.13.x
Pointers may break your bones.. (help) 31 messages
Benchmark with ReleaseFast 11 messages
Switch on corrupt value - but why? 8 messages
Answered
casting u132 to usize 15 messages
pass function with anytype parameter 6 messages
Answered
LLD link: undefined symbol 19 messages
Answered
Bitshift operator expected int, found bool during including C header 25 messages
Answered
root struct of file 'c' has no member named 'PF' 13 messages
Cast function to another one function 5 messages
How to view generated autodoc? 3 messages
Answered
Any way to check CPU features at RUNTIME? 6 messages
Answered 0.13.x
@memcpy segmentation fault 9 messages
non-blocking socket reads on windows 3 messages
Answered
ZLS update in VS Code 4 messages
[solved] Conditional code selection at compiletime based on the operating system 4 messages
Answered
How to properly use translate-c 10 messages
Answered 0.13.x
How can i pass my raw compiler flags in build.zig 2 messages
why does allocator.alloc return a slice? 15 messages
variable does not increments when program compiled in release mode 2 messages
Getting from C and to C : [*c][*c]const u8 8 messages
divmod zig 9 messages
why is this being so weird 27 messages