# first pass at zig build system · gitcafe/zig

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

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

Visibility: public

Requested revision: 3ca027ca8219dbdbb6467645944c4daada037f51

Requested commit: 3ca027ca8219dbdbb6467645944c4daada037f51

Commit: 3ca027ca8219dbdbb6467645944c4daada037f51

Tree: 786a6c4ecac9f11d3a60f3c14c1b4276a3adc8d6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
first pass at zig build system

 * `zig build --export [obj|lib|exe]` changed to `zig build_obj`,
   `zig build_lib` and `zig build_exe` respectively.
 * `--name` parameter is optional when it can be inferred from the
   root source filename. closes #207
 * `zig build` now looks for `build.zig` which interacts with
   `std.build.Builder` to describe the targets, and then the zig
   build system prints TODO: build these targets. See #204
 * add `@bitcast` which is mainly used for pointer reinterpret
   casting and make explicit casting not do pointer reinterpretation.
   Closes #290
 * fix debug info for byval parameters
 * sort command line help options
 * `std.debug.panic` supports format string printing
 * add `std.mem.IncrementingAllocator`
 * fix const ptr to a variable with data changing at runtime.
   closes #289

```

## Parents

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

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