# use \`cCallingConvention\` instead of \`\.C\` in Sema · gitcafe/zig

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

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

Visibility: public

Requested revision: 97e584a6b9786ad942e4c8db0ce5b3b948ddad7e

Requested commit: 97e584a6b9786ad942e4c8db0ce5b3b948ddad7e

Commit: 97e584a6b9786ad942e4c8db0ce5b3b948ddad7e

Tree: fce85bf8f7653f9f849c31a1934579c5e013dfb8

Author: David Rubin

Committer: David Rubin

## Message

```
use `cCallingConvention` instead of `.C` in Sema
using `.C` in Sema is incorrect since it will be resolved under the target that Zig was compiled with, not the target build configuration. This is easily solved by just calling `cCallingConvention` on the target to resolve it.

```

## Parents

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

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