# std.Build.RunStep: work around a miscompilation · gitcafe/zig

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

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

Visibility: public

Requested revision: 8b054e190a977ccd27302debd5d0f95c28597005

Requested commit: 8b054e190a977ccd27302debd5d0f95c28597005

Commit: 8b054e190a977ccd27302debd5d0f95c28597005

Tree: aaf41c622d3f22a38de5524e06446533cdc75740

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Build.RunStep: work around a miscompilation

See #14783

Also, set the cwd directory handle when spawning the child process if
available.

```

## Parents

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

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