# fixups · gitcafe/zig

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

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

Visibility: public

Requested revision: 43c2ce10a1af3e0f4929d2f875e48f8686a6b747

Requested commit: 43c2ce10a1af3e0f4929d2f875e48f8686a6b747

Commit: 43c2ce10a1af3e0f4929d2f875e48f8686a6b747

Tree: 40afe85389fbd803accc93783dab5dfad155ea33

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fixups

 * extract logic into a `os_can_execve` and use it in the other place
   that we execve
 * outdent some code by introducing `run_or_test` variable
 * delete unnecessary and wasteful memory management logic
 * better error message for when execve fails
 * add comment to explain why we do not execve for `zig test`

```

## Parents

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

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