aboutsummaryrefslogtreecommitdiff
path: root/src/InternPool.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2023-06-11 13:17:47 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-06-11 22:04:01 -0700
commit5b6906c22eb44b35cdce0368a36b035d6734df04 (patch)
treef9672f09ec43cdc4bd4ed01f40c402884e089096 /src/InternPool.zig
parent63604024f47767b7b0c0deba5c9647cd6c040931 (diff)
downloadzig-5b6906c22eb44b35cdce0368a36b035d6734df04.tar.gz
zig-5b6906c22eb44b35cdce0368a36b035d6734df04.zip
InternPool: fix dbHelper after 4976b58
You must now write '_ = &f' rather than just '_ = f' to ensure a function is compiled into a binary.
Diffstat (limited to 'src/InternPool.zig')
-rw-r--r--src/InternPool.zig2
1 files changed, 1 insertions, 1 deletions
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;
}
}
};