Hi, I want to make colorschemes using your project. But I am facing some errors and I don't know Zig.
Here's how to reproduce.
$ cd colorstorm
$ make release
zig build -Drelease-safe=true
/Users/anshul.chauhan/playground/vscode/colorstorm/src/templator.zig:101:25: error: unused loop index capture
for ("RGB") |c, i| {
^
colorstorm...The following command exited with error code 1:
/Users/anshul.chauhan/.brew/Cellar/zig/0.9.0/bin/zig build-exe /Users/anshul.chauhan/playground/vscode/colorstorm/src/main.zig -OReleaseSafe --cache-dir /Users/anshul.chauhan/playground/vscode/colorstorm/zig-cache --global-cache-dir /Users/anshul.chauhan/.cache/zig --name colorstorm --enable-cache
error: the following build command failed with exit code 1:
/Users/anshul.chauhan/playground/vscode/colorstorm/zig-cache/o/08dec60946b61bcb15763e4603c3e8fb/build /Users/anshul.chauhan/.brew/Cellar/zig/0.9.0/bin/zig /Users/anshul.chauhan/playground/vscode/colorstorm /Users/anshul.chauhan/playground/vscode/colorstorm/zig-cache /Users/anshul.chauhan/.cache/zig -Drelease-safe=true
make: *** [release] Error 1
$ make release
zig build -Drelease-safe=true
./src/main.zig:24:15: error: expected type '*std.mem.Allocator', found '*const (bound fn(*std.heap.arena_allocator.ArenaAllocator) std.mem.Allocator)'
a = &arena.allocator;
^
./src/main.zig:24:15: note: cast discards const qualifier
a = &arena.allocator;
^
./src/main.zig:57:5: note: referenced here
try parse_args();
^
colorstorm...The following command exited with error code 1:
/Users/anshul.chauhan/.brew/Cellar/zig/0.9.0/bin/zig build-exe /Users/anshul.chauhan/playground/vscode/colorstorm/src/main.zig -OReleaseSafe --cache-dir /Users/anshul.chauhan/playground/vscode/colorstorm/zig-cache --global-cache-dir /Users/anshul.chauhan/.cache/zig --name colorstorm --enable-cache
error: the following build command failed with exit code 1:
/Users/anshul.chauhan/playground/vscode/colorstorm/zig-cache/o/08dec60946b61bcb15763e4603c3e8fb/build /Users/anshul.chauhan/.brew/Cellar/zig/0.9.0/bin/zig /Users/anshul.chauhan/playground/vscode/colorstorm /Users/anshul.chauhan/playground/vscode/colorstorm/zig-cache /Users/anshul.chauhan/.cache/zig -Drelease-safe=true
make: *** [release] Error 1