I am using the raylib library wrapper https://github.com/Not-Nik/raylib-zig
the signatue is pub fn drawText(text: [:0]const u8, posX: i32, posY: i32, fontSize: i32, color: Color) void
I am trying to put a []const u8 as the text part but it has no sentinel
GitHub
Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib - Not-Nik/raylib-zig