# std: Use correct clone\(\) stub · gitcafe/zig

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

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

Visibility: public

Requested revision: 4e2a4e194bb07d08927410012a5a19bbe443c9f2

Requested commit: 4e2a4e194bb07d08927410012a5a19bbe443c9f2

Commit: 4e2a4e194bb07d08927410012a5a19bbe443c9f2

Tree: e4da48b041e61e32b7cc34b1838e145f2872edd6

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Use correct clone() stub

The previous clone() definition was written for 32bit PPC targets,
trying to execute it on a PPC64 machine lead to countless crashes.

Use the clone() definition kindly lifted from Musl libc.

```

## Parents

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

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