# Merge branch 'export-rewrite' · gitcafe/zig

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

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

Visibility: public

Requested revision: 2a8160e80fc0a03700b83ac9a715f97d1d637f02

Requested commit: 2a8160e80fc0a03700b83ac9a715f97d1d637f02

Commit: 2a8160e80fc0a03700b83ac9a715f97d1d637f02

Tree: ddaac9739e20717789574db9c200151dfb32a96c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Merge branch 'export-rewrite'

introduces the `@export` builtin function which can be used
in a comptime block to conditionally export a function.

it also allows creation of aliases.

previous export syntax is still allowed.

closes #462
closes #420

```

## Parents

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

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

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