aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2024-04-09 22:22:08 -0400
committerAndrew Kelley <andrew@ziglang.org>2024-04-10 02:11:54 -0700
commitc4587dc9f46e15d4fb875a7675bc1aa22138c1ab (patch)
treefff3520b8a9ba7492b7ac1d35a5290c535c50ba5 /lib/std/debug.zig
parent215de3ee67f75e2405c177b262cb5c1cd8c8e343 (diff)
downloadzig-c4587dc9f46e15d4fb875a7675bc1aa22138c1ab.tar.gz
zig-c4587dc9f46e15d4fb875a7675bc1aa22138c1ab.zip
Uri: propagate per-component encoding
This allows `std.Uri.resolve_inplace` to properly preserve the fact that `new` is already escaped but `base` may not be. I originally tried just moving `raw_uri` around, but it made uri resolution unmanagably complicated, so I instead added per-component information to `Uri` which allows extra allocations to be avoided when constructing uris with components from different sources, and in some cases, deferring the work all the way to when the uri is printed, where an allocator may not even be needed. Closes #19587
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions