fix: Update to zig 0.13.0

This commit is contained in:
Kalle Carlbark 2024-06-07 23:14:19 +02:00
parent c626969744
commit 9c9ffdf06c
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -1,2 +1,2 @@
zig-out
zig-cache
.zig-cache

View file

@ -4,7 +4,7 @@
// In a future version of Zig it will be used for package deduplication.
.version = "0.0.0",
.minimum_zig_version = "0.12.0",
.minimum_zig_version = "0.13.0",
.dependencies = .{},
.paths = .{

View file

@ -12,7 +12,7 @@ const csi = esc ++ "[";
const reset = csi ++ "0m";
const font_style_codes = std.ComptimeStringMap([]const u8, .{
const font_style_codes = std.StaticStringMap([]const u8).initComptime(.{
.{ "bold", "1" },
.{ "dim", "2" },
.{ "italic", "3" },