# C ABI: support returning large structs on x86_64 · gitcafe/zig

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

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

Visibility: public

Requested revision: 9c169f3cf763c58f91b485f907f80cd8d08c4e12

Requested commit: 9c169f3cf763c58f91b485f907f80cd8d08c4e12

Commit: 9c169f3cf763c58f91b485f907f80cd8d08c4e12

Tree: a6260d6bf626e87f22630cf466ce856cdec14531

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
C ABI: support returning large structs on x86_64

also panic instead of emitting bad code for returning small structs

See #1481

```

## Parents

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

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