0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

sentinel slicing improvements

* add runtime safety for slicing pointers, arrays, and slices.
 * slicing without a sentinel value results in non-sentineled slice
 * improved `std.debug.panic` handling of panic-during-panic
This commit is contained in:
Andrew Kelley 2019-12-20 17:48:45 -05:00
commit 8918cb06fc
No known key found for this signature in database
GPG key ID: 7C5F548F728501A9
6 changed files with 117 additions and 25 deletions