# wasm: Initial C-ABI implementation · gitcafe/zig

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

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

Visibility: public

Requested revision: cb49af6c9a6b790ec341cb081d1fec381d44e9a4

Requested commit: cb49af6c9a6b790ec341cb081d1fec381d44e9a4

Commit: cb49af6c9a6b790ec341cb081d1fec381d44e9a4

Tree: 91cd9c20684b33a3c43eb8393596910d664db02b

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Initial C-ABI implementation

This implements the C-ABI convention as specified by:
https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md
While not an official specification, it's the ABI that is output by clang/LLVM.
As we use LLVM to compile compiler-rt, and want to integrate with C-libraries,
we follow the same convention when the calling convention results in 'C'.

```

## Parents

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

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