diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2023-06-11 13:17:47 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-11 22:04:01 -0700 |
| commit | 5b6906c22eb44b35cdce0368a36b035d6734df04 (patch) | |
| tree | f9672f09ec43cdc4bd4ed01f40c402884e089096 /src/InternPool.zig | |
| parent | 63604024f47767b7b0c0deba5c9647cd6c040931 (diff) | |
| download | zig-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.zig | 2 |
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; } } }; |
