diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-10-08 19:14:01 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-10-08 19:30:36 -0700 |
| commit | d83d79c032cf72d26a20068c9f5172b8dba56df8 (patch) | |
| tree | 8e5418be95c2c2a40015d3eb71841c7d6ac4380e /lib/std/debug/cpu_context.zig | |
| parent | b9f8b6ef0649f4bbbd9e24c51ec65a91a8bc5e67 (diff) | |
| download | zig-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
