# implement os_self_exe_path in the c\+\+ compiler for darwin · gitcafe/zig

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

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

Visibility: public

Requested revision: c3724ec506a9e3a4b23a145a733050c17321da9d

Requested commit: c3724ec506a9e3a4b23a145a733050c17321da9d

Commit: c3724ec506a9e3a4b23a145a733050c17321da9d

Tree: 9eeef4d13b4888507cfb502791266bacbde7d304

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
implement os_self_exe_path in the c++ compiler for darwin

ported from the zig std lib

this fixes looking for zig std lib at runtime on darwin

```

## Parents

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

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