std.mem.sliceTo: Return slice with sentinel from unbounded pointers

Commit dec1163fbb removed sentinels from the returned slice for C
pointers. Since C pointers have no bounds, we know that it'll keep
scanning until it finds `end` (or crash trying). The same is also true
of many-item pointers without a sentinel (e.g. `[*]T`), so I added
support for those too.
d86e8b7795Jay Petacat committed on 1/13/2026, 5:19:14 AM· committed by Andrew Kelleyparent044ba3e
1 file changedLine totals unavailable