# Build.zig_exe: make it sentinel-aware · gitcafe/zig

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

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

Visibility: public

Requested revision: 9f2aa3fbeec451021837ca6bca2baa47302f0468

Requested commit: 9f2aa3fbeec451021837ca6bca2baa47302f0468

Commit: 9f2aa3fbeec451021837ca6bca2baa47302f0468

Tree: 0e12d0e9526606bb69f66a91bddd56d4cda39bba

Author: Motiejus Jakštys

Committer: Andrew Kelley

## Message

```
Build.zig_exe: make it sentinel-aware

This is useful for tests that want to `execve` zig directly. The string
is already null-terminated, so this will just expose it as such,
removing an extra allocation from the test.

Will be used in #14462

```

## Parents

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

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