zig-help

21196 threads · Page 134 of 424

Unsigned -> signed integer casting 8 messages
Answered
Singleton struct? 70 messages
Answered
Spawning thread in struct field function error? 3 messages
Answered
Abstracting cross-platform code 3 messages
Answered
Accessing the default value of a specific field in a struct 11 messages
Answered 0.13.x
While loop with capture? 11 messages
Answered
Fix having to exit nvim for zls to find newly created function? 11 messages
Answered
Implementing algorithms with heavy uses of ephemeral sets? 72 messages
Answered
Do you need tmp variable for this 7 messages
Answered
Error in allocator.destroy 29 messages
0.14.x New User Answered
How do i pipe the stdout and stderr of a std.process.Child to a buffer or ignore it. 4 messages
0.13.x
Vulkan vkGetInstanceProcAddr returning null 9 messages
Answered
Embedded allocator 47 messages
Making a packed struct always give the same bitfield output 24 messages
Comptime get zig files in directory and load them as library 6 messages
Why does this it complain about f32 when casting to f32? 22 messages
Does this type look ok? 17 messages
0.13.x
opaque with value? 22 messages
Answered
How do you convert a zig string into a string that you can pass into a c function? 17 messages
Is this inline function syntax real 38 messages
Answered
How to properly import a C library into Zig? 9 messages
New User Answered
get file size when iterating directory 8 messages
0.13.x
How to not cause zig-cache to duplicate files 21 messages
Error Linking `SDL_image.h`, but not `SDL.h` ? cInclude confusion... 24 messages
Answered 0.13.x
Comptiming a lot of boilerplate 8 messages
New User 0.13.x
How do I communicate with child process over a long period of time? 10 messages
getting a sentinel terminated slice 8 messages
Answered
How C interop gonna work without LLVM in future? 35 messages
How to left pad number so it prints `" 1"` instead of `"1"` 4 messages
0.14.x Standard Library Answered
system library static linking 2 messages
Return a struct with unknown fields outside comptime 14 messages
New User Answered 0.13.x
How to return from switch block 24 messages
Answered 0.13.x
Getting the traceback of std.debug.print 2 messages
Answered 0.13.x
possible to get the type of the input and set it as the output? 4 messages
New User Answered 0.13.x
Issue with accessing memory after thread.join() 21 messages
New User Standard Library Answered 0.13.x
StringHashMap and Key allocations 12 messages
Recommendations for multiple source file projects 3 messages
Answered
How do we get raylib working these days? 109 messages
How do you initialize a void tagged union? 6 messages
New User Answered 0.13.x
How to "switch on string" using enums 9 messages
get address and port from posix.sockaddr 2 messages
Answered
Memory leak with Dir.walk? 11 messages
using sdk linker 37 messages
Create `[]const u8` from raw parts at compile time 5 messages
0.13.x
Convert *[:0]u8 to []const u8 during compile time 4 messages
0.13.x
How to crosscompile for Raspberry Pi 4 on MacOS? 16 messages
zig open gl genVertexArrays 21 messages
Array initialization and methods 158 messages
New User
`zig build` redirect output 10 messages
OutOfMemory and segfault when using anytype for argument 2 messages
0.14.x Compiler Answered 0.13.x