diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-10-01 13:10:40 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-10-03 07:10:43 -0700 |
| commit | cb295b84a0ec274a43da59041fa4a199e799798d (patch) | |
| tree | ac7d5a77a12ecf021983e20d7602226668d8aadb /src/input/command.zig | |
| parent | 3770f97608409d450a1ab0364974ee7fb1c50f13 (diff) | |
Zig 0.15: zig build test
Diffstat (limited to 'src/input/command.zig')
| -rw-r--r-- | src/input/command.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/command.zig b/src/input/command.zig index bf5061c12..ba55820fc 100644 --- a/src/input/command.zig +++ b/src/input/command.zig @@ -50,7 +50,7 @@ pub const Command = struct { return .{ .action_key = @tagName(self.action), - .action = std.fmt.comptimePrint("{s}", .{self.action}), + .action = std.fmt.comptimePrint("{t}", .{self.action}), .title = self.title, .description = self.description, }; @@ -94,6 +94,7 @@ pub const defaults: []const Command = defaults: { /// Defaults in C-compatible form. pub const defaultsC: []const Command.C = defaults: { + @setEvalBranchQuota(100_000); var result: [defaults.len]Command.C = undefined; for (defaults, 0..) |cmd, i| result[i] = cmd.comptimeCval(); const final = result; |
