# stage1: Ask LLVM to produce compact code in ReleaseSize mode · gitcafe/zig

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

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

Visibility: public

Requested revision: b52a28a8026d552e10cb18c3b7b1f7b10d23bf81

Requested commit: b52a28a8026d552e10cb18c3b7b1f7b10d23bf81

Commit: b52a28a8026d552e10cb18c3b7b1f7b10d23bf81

Tree: 5ad7afe17edaee4c4db0af83a5620ff2f3b20007

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage1: Ask LLVM to produce compact code in ReleaseSize mode

Let's follow what Clang does for -Oz and apply the `minsize` and
`optsize` attributes by default.

Closes #7048
Supersedes #7077

```

## Parents

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

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