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