# stage1: Fix crash in \*\[N\]T to \[\]T conversion with zst · gitcafe/zig

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

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

Visibility: public

Requested revision: f91df39ad2a54bc5367ba562ca703e564dd4a38d

Requested commit: f91df39ad2a54bc5367ba562ca703e564dd4a38d

Commit: f91df39ad2a54bc5367ba562ca703e564dd4a38d

Tree: 490b5ee62acd2c0ba3708510f4cda30d6efab020

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage1: Fix crash in *[N]T to []T conversion with zst

Prevent the crash by not making the codegen try to access the
non-existing ptr field in the slice.

Closes #6951

```

## Parents

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

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