# start: Don't artificially limit some posixCallMainAndExit\(\) logic to Linux\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 74a3ae492797b1b2cf1936f0c91560585efdf6c6

Requested commit: 74a3ae492797b1b2cf1936f0c91560585efdf6c6

Commit: 74a3ae492797b1b2cf1936f0c91560585efdf6c6

Tree: ba520c805a8f89d85dbe51dafd4c405bf2fa65b6

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
start: Don't artificially limit some posixCallMainAndExit() logic to Linux.

This code applies to ~any POSIX OS where we don't link libc. For example, it'll
be useful for FreeBSD and NetBSD.

As part of this, move std.os.linux.pie to std.pie since there's really nothing
Linux-specific about what that file is doing.

```

## Parents

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

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