# sentinel slicing improvements · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8918cb06fca10309dc67ac881894528eac33a8fc)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8918cb06fca10309dc67ac881894528eac33a8fc

Requested commit: 8918cb06fca10309dc67ac881894528eac33a8fc

Commit: 8918cb06fca10309dc67ac881894528eac33a8fc

Tree: e4c77bb22a05484b2843b8117e96d949204e81b0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
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

```

## Parents

- [26f3c2d0614f4fb37752b1931cb0b43aed2696d2](https://git.cafe/gitcafe/zig/commit/26f3c2d0614f4fb37752b1931cb0b43aed2696d2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8918cb06fca10309dc67ac881894528eac33a8fc?format=markdown)
