This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

quirks: remove type signature for inlineAssert

Functions with different calling conventions are not compatible with
each other

Fixes all release builds + CI

author
Leah Amelia Chen
date (Dec 8, 2025, 1:19 PM +0800) commit 2ac9e03c parent ddca4a84 change-id kzlzpnvl
+1 -1
+1 -1
src/quirks.zig
··· 42 42 /// is negligible, but we have some asserts inside tight loops and hotpaths 43 43 /// that cause significant overhead (as much as 15-20%) when they don't get 44 44 /// optimized out. 45 - pub const inlineAssert: fn (bool) void = switch (builtin.mode) { 45 + pub const inlineAssert = switch (builtin.mode) { 46 46 // In debug builds we just use std.debug.assert because this 47 47 // fixes up stack traces. `inline` causes broken stack traces. This 48 48 // is probably a Zig compiler bug but until it is fixed we have to