# fix a round of regressions in this branch · gitcafe/zig

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

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

Visibility: public

Requested revision: 30dfdfdbd09570f97420413015eb8a1517382961

Requested commit: 30dfdfdbd09570f97420413015eb8a1517382961

Commit: 30dfdfdbd09570f97420413015eb8a1517382961

Tree: 6e4e3f43eaa0f870629a9f969907e3adee8d1bfa

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix a round of regressions in this branch

 * Don't try to generate C header files yet since it will only cause a
   crash saying the feature is unimplemented.
 * Rename the CLI options for release modes to use the `-O` prefix to
   match C compiler precedent. Options are now `-ODebug`,
   `-OReleaseFast`, `-OReleaseSafe`, `-OReleaseSmall`. The optimization
   mode matches the enum tags of std.builtin.Mode. It is planned to, at
   some point, rename std.builtin.Mode to std.builtin.OptimizationMode
   and modify the tags to be lower case to match the style convention.
   - Update build.zig code to support this new CLI.
 * update std.zig.binNameAlloc to support an optional Version and update
   the implementation to correctly deal with dynamic library version
   suffixes.

```

## Parents

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

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