# Update zig build system to support user defined options · gitcafe/zig

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

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

Visibility: public

Requested revision: 6fbe1632d0c958b9abbc9f38a7e497ef69543bf1

Requested commit: 6fbe1632d0c958b9abbc9f38a7e497ef69543bf1

Commit: 6fbe1632d0c958b9abbc9f38a7e497ef69543bf1

Tree: c5ee08ab23927e79a2827beebeb5e879e6596f7c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Update zig build system to support user defined options

 * Fix assertion failure when switching on type.
   Closes #310
 * Update zig build system to support user defined options.
   See #204
 * fmt.format supports {sNNN} to set padding for a buffer arg.
 * add std.fmt.bufPrint and std.fmt.allocPrint
 * std.hash_map.HashMap.put returns the previous value
 * add std.mem.startsWith

```

## Parents

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

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