# update bootstrap to work for macos too · gitcafe/zig

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

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

Visibility: public

Requested revision: 77ffb5075bd550893b9f6ac99f151b1d55a8040e

Requested commit: 77ffb5075bd550893b9f6ac99f151b1d55a8040e

Commit: 77ffb5075bd550893b9f6ac99f151b1d55a8040e

Tree: d7cde8b3527f2458f216562f42b5957fefc477e9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
update bootstrap to work for macos too

 * Directives can have arbitrary expressions as parameters
 * Fix switch statement not generating code sometimes
 * Rename "main" fn in bootstrap.zig to "zig_user_main" to
   avoid name collisions
 * codegen: fix badref when unreachable is last thing in an
   expression
 * support #condition directive on exported functions

```

## Parents

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

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