# wasm-lld: set stack size to 1MB by default · gitcafe/zig

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

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

Visibility: public

Requested revision: fffece1533d37b917c6e301c984c1cb3eb0040e4

Requested commit: fffece1533d37b917c6e301c984c1cb3eb0040e4

Commit: fffece1533d37b917c6e301c984c1cb3eb0040e4

Tree: f36bab534acfbf1362a48b5adeafb0a799913b09

Author: Luuk de Gram

Committer: Andrew Kelley

## Message

```
wasm-lld: set stack size to 1MB by default

Regardless of the build mode (build-exe, build-lib), always
set the default stack size to 1MB. Previously, this was only
done when using build-exe, making the inconsistancy confusing.
The user can still override this behavior by providing the
`--stack <size>` flag.

```

## Parents

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

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