# stage1: Follow the C ABI for return types · gitcafe/zig

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

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

Visibility: public

Requested revision: 7813068e218457b074576d3dac8926b7923f97ba

Requested commit: 7813068e218457b074576d3dac8926b7923f97ba

Commit: 7813068e218457b074576d3dac8926b7923f97ba

Tree: 77bbd16f28956ab8466801fb7dc2376eeba6b243

Author: LemonBoy

Committer: LemonBoy

## Message

```
stage1: Follow the C ABI for return types

The current implementation of the target C ABI rules is hopelessly bad,
let's tack some more rules on top in order to prevent some
miscompilations.

Truth to be told the same rule should be applied also to parameters, but
I really can't stand stage1.

```

## Parents

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

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