# std: Fix stack overflow in SPARC clone\(\) impl · gitcafe/zig

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

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

Visibility: public

Requested revision: 51f80deaf6e7377f34c3fd4d68b8ad03b5de3bfb

Requested commit: 51f80deaf6e7377f34c3fd4d68b8ad03b5de3bfb

Commit: 51f80deaf6e7377f34c3fd4d68b8ad03b5de3bfb

Tree: 500595424a985ccd3e69d67f0d6a7ff80bbc6c66

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Fix stack overflow in SPARC clone() impl

Leave the minimum amount of stack space required by the ABI (16 * 8
bytes for the window contents plus 6 * 8 bytes for the input arguments)
on the new thread stack.

```

## Parents

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

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