From 5b6906c22eb44b35cdce0368a36b035d6734df04 Mon Sep 17 00:00:00 2001 From: mlugg Date: Sun, 11 Jun 2023 13:17:47 +0100 Subject: InternPool: fix dbHelper after 4976b58 You must now write '_ = &f' rather than just '_ = f' to ensure a function is compiled into a binary. --- src/InternPool.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/InternPool.zig') diff --git a/src/InternPool.zig b/src/InternPool.zig index 9ca5a48a55..0f0b40ba4d 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -1498,7 +1498,7 @@ pub const Index = enum(u32) { comptime { if (builtin.mode == .Debug) { - _ = dbHelper; + _ = &dbHelper; } } }; -- cgit v1.2.3