# Add option for overriding the stack size · gitcafe/zig

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

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

Visibility: public

Requested revision: 0ff5d7b24e2017199566d1bab75254fa5ef68611

Requested commit: 0ff5d7b24e2017199566d1bab75254fa5ef68611

Commit: 0ff5d7b24e2017199566d1bab75254fa5ef68611

Tree: 0c44d8f84b155eedef9e7cbfba47c0834d700a84

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
Add option for overriding the stack size

This commit adds a `--stack [size]` link-time option to zig compiler
allowing the user to override the default stack size set for the
specified executable/library format. This is currently limited to
ELF, COFF and Wasm however (i.e., Mach-O is excluded).

```

## Parents

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

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