authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2023-06-11 13:17:47+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-06-11 22:04:01-07:00
log5b6906c22eb44b35cdce0368a36b035d6734df04
treef9672f09ec43cdc4bd4ed01f40c402884e089096
parent63604024f47767b7b0c0deba5c9647cd6c040931

InternPool: fix dbHelper after 4976b58

You must now write '_ = &f' rather than just '_ = f' to ensure a function is compiled into a binary.

1 files changed, 1 insertions(+), 1 deletions(-)

src/InternPool.zig+1-1
...@@ -1498,7 +1498,7 @@ pub const Index = enum(u32) {...@@ -1498,7 +1498,7 @@ pub const Index = enum(u32) {
14981498
1499 comptime {1499 comptime {
1500 if (builtin.mode == .Debug) {1500 if (builtin.mode == .Debug) {
1501 _ = dbHelper;1501 _ = &dbHelper;
1502 }1502 }
1503 }1503 }
1504};1504};