# aro: define arch macros for riscv · gitcafe/zig

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

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

Visibility: public

Requested revision: 47cc233f220bcfb7b7183692861651423d965117

Requested commit: 47cc233f220bcfb7b7183692861651423d965117

Commit: 47cc233f220bcfb7b7183692861651423d965117

Tree: fed07470df8129a7f303227e80e5d485d5e459e3

Author: Sertonix

Committer: Alex Rønne Petersen

## Message

```
aro: define arch macros for riscv

Fixes some test failure:

test
+- test-standalone
   +- standalone_test_cases
      +- standalone_test_cases.glibc_compat
         +- CheckObject
            +- compile exe native-linux-gnu.2.38 Debug native-linux-gnu.2.38 64 errors
test/standalone/glibc_compat/glibc_runtime_check.zig:11:18: error: C import failed
const c_malloc = @cImport(
                 ^~~~~~~~
referenced by:
    checkReallocarray: test/standalone/glibc_compat/glibc_runtime_check.zig:46:27
    main: test/standalone/glibc_compat/glibc_runtime_check.zig:112:26
    4 reference(s) hidden; use '-freference-trace=6' to see all references
error: translation failure
build/stage3/lib/zig/libc/include/riscv-linux-gnu/bits/wordsize.h:22:3: error: unsupported ABI

```

## Parents

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

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