summaryrefslogtreecommitdiff
path: root/codegen/ccc.zig
diff options
context:
space:
mode:
authorGravatar Tim Culverhouse2024-10-14 19:42:44 -0500
committerGravatar Tim Culverhouse2024-10-14 19:42:44 -0500
commit14d4a37c3544ec82b1d9f54e2dab0eafb45c43b4 (patch)
treeea96d4dbcda022c3292577bdc5aab8c937ecbc80 /codegen/ccc.zig
parentFixed benchmark duration printing (diff)
downloadzg-14d4a37c3544ec82b1d9f54e2dab0eafb45c43b4.tar.gz
zg-14d4a37c3544ec82b1d9f54e2dab0eafb45c43b4.tar.xz
zg-14d4a37c3544ec82b1d9f54e2dab0eafb45c43b4.zip
GraphemeData: define error set as mem.Allocator.Error
The reader is a static embedded file. All of the reads are either a readInt or a readAll into a previously allocated buffer. This function should not ever fail at runtime with a read error. Make all read errors unreachable, leaving only allocation errors as the error set.
Diffstat (limited to 'codegen/ccc.zig')
0 files changed, 0 insertions, 0 deletions