Fix some basic build errors.

This commit is contained in:
Gordon Cassie
2024-06-09 11:52:05 -07:00
committed by Mitchell Hashimoto
parent 53423f1071
commit c967a35abb
5 changed files with 6 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ pub const Entry = struct {
/// key value for Entry.
const code_to_key = code_to_key: {
@setEvalBranchQuota(5000);
break :code_to_key std.ComptimeStringMap(Key, .{
break :code_to_key std.StaticStringMap(Key).initComptime(.{
.{ "KeyA", .a },
.{ "KeyB", .b },
.{ "KeyC", .c },