aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/cpu_context.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-10-08 19:14:01 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-10-08 19:30:36 -0700
commitd83d79c032cf72d26a20068c9f5172b8dba56df8 (patch)
tree8e5418be95c2c2a40015d3eb71841c7d6ac4380e /lib/std/debug/cpu_context.zig
parentb9f8b6ef0649f4bbbd9e24c51ec65a91a8bc5e67 (diff)
downloadzig-d83d79c032cf72d26a20068c9f5172b8dba56df8.tar.gz
zig-d83d79c032cf72d26a20068c9f5172b8dba56df8.zip
std.Io.Reader: rework peekDelimiterInclusive
Now it's based on calling fillMore rather than an illegal aliased stream into the Reader buffer. This commit also includes a disambiguation block inspired by #25162. If `StreamTooLong` was added to `RebaseError` then this logic could be replaced by removing the exit condition from the while loop. That error code would represent when `buffer` capacity is too small for an operation, replacing the current use of asserts.
Diffstat (limited to 'lib/std/debug/cpu_context.zig')
0 files changed, 0 insertions, 0 deletions