also looking at this
Track latest Zig 0.17-dev OptimizeMode API
#8
11 files
+51
-51
| @@ -102,7 +102,7 @@ pub const Parser = struct { | ||
| 102 | 102 | pub fn expectEnum(self: *Parser, comptime Enum: type) Error!Enum { |
| 103 | 103 | const oid = try self.expectOid(); |
| 104 | 104 | return Enum.oids.get(oid) orelse { |
| 105 | if (builtin.mode == .Debug) { | |
| 105 | if (builtin.mode == .debug) { | |
| 106 | 106 | var buf: [256]u8 = undefined; |
| 107 | 107 | var stream = std.io.fixedBufferStream(&buf); |
| 108 | 108 | try .decode(oid, stream.writer()); |