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

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

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

Visibility: public

Requested revision: 10b1001a124101ea06e1f3027edde51b165ff21f

Requested commit: 10b1001a124101ea06e1f3027edde51b165ff21f

Commit: 10b1001a124101ea06e1f3027edde51b165ff21f

Tree: bd8f514832e931c64c3a41da3c76e02853253960

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

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

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