commit 045132350572ad8f273c580685218821c7dd562e
parent 86be096d808ed770b717df70dd2a93c7ad8c9c34
Author: Sebastian <sebastian@sebsite.pw>
Date: Sun, 20 Mar 2022 00:25:10 -0400
hare::types: add arch configuration for riscv64
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/hare/types/arch.ha b/hare/types/arch.ha
@@ -21,3 +21,10 @@ export const aarch64: arch = arch {
_pointer = 8,
_size = 8,
};
+
+// [[arch]] configuration for riscv64.
+export const riscv64: arch = arch {
+ _int = 4,
+ _pointer = 8,
+ _size = 8,
+};