We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0bbd7c8 + 2ac9e03 commit 9cd96e4Copy full SHA for 9cd96e4
src/quirks.zig
@@ -42,7 +42,7 @@ pub fn disableDefaultFontFeatures(face: *const font.Face) bool {
42
/// is negligible, but we have some asserts inside tight loops and hotpaths
43
/// that cause significant overhead (as much as 15-20%) when they don't get
44
/// optimized out.
45
-pub const inlineAssert: fn (bool) void = switch (builtin.mode) {
+pub const inlineAssert = switch (builtin.mode) {
46
// In debug builds we just use std.debug.assert because this
47
// fixes up stack traces. `inline` causes broken stack traces. This
48
// is probably a Zig compiler bug but until it is fixed we have to
0 commit comments