ReviewOS

also looking at this

zig-utils/zig-tls

Track latest Zig 0.17-dev OptimizeMode API

#8
Merged chris wants to merge codex/zig-017-latest into main
11 files +51 -51
src/handshake_client.zigmodified+1-1
Changes to src/handshake_client.zig
@@ -38,7 +38,7 @@ const CertKeyPair = common.CertKeyPair;
3838const cert = common.cert;
3939
4040const alpn = ;
41const log = if (builtin.mode == .Debug) std.log.scoped(.tls) else struct {
41const log = if (builtin.mode == .debug) std.log.scoped(.tls) else struct {
4242 pub fn info(comptime _: []const u8, _: anytype) void {}
4343 pub fn err(comptime _: []const u8, _: anytype) void {}
4444 pub fn warn(comptime _: []const u8, _: anytype) void {}