Zig 0.13 `runtime value contains reference to comptime var` when returning a slice built at comptime with dynamic comptime length
Language: Zig · Versions: Zig 0.13.0 The problem I'm building a lookup table at comptime inside a function using a comptime var buffer and returning a slice []const u8. In Zig…
2 posts ·