aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index e5282f63e..1c4b88101 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -155,6 +155,11 @@ gb_internal bool does_require_msgSend_stret(Type *return_type) {
return false;
}
+ // No objc here so this doesn't matter, right?
+ if (build_context.metrics.arch == TargetArch_riscv64) {
+ return false;
+ }
+
// if (build_context.metrics.arch == TargetArch_arm32) {
// i64 struct_limit = type_size_of(t_uintptr);
// // NOTE(bill): This is technically wrong