# default mabi based on RISC-V extensions and \-mabi build option · gitcafe/zig

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

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

Visibility: public

Requested revision: ff38f560402aa61ce8e4ae38b4fa0ff2ddbaede6

Requested commit: ff38f560402aa61ce8e4ae38b4fa0ff2ddbaede6

Commit: ff38f560402aa61ce8e4ae38b4fa0ff2ddbaede6

Tree: cc248ce8fc3c3d76d968cb348fc8d130a7e40366

Author: vole-dev

Committer: Andrew Kelley

## Message

```
default mabi based on RISC-V extensions and -mabi build option

The target abi can also be set in build.zig via LibExeObjStep.target_abi

The value passed in is checked that it is a valid value in
std.Target.TargetAbi

The target abi is also validated against the target cpu

```

## Parents

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

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