diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-08-22 11:20:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-22 11:20:03 +0100 |
| commit | 70932dc47882b17344d466776ad988ffb3c7bc98 (patch) | |
| tree | 2e854e0f3f6f3c5494a172211af834c9a1db0822 /src/check_builtin.cpp | |
| parent | a8bc6f08a9b4dea769b4aea40aa33e72c0b7806a (diff) | |
| parent | c0125f3192a453195cad108bf8155c64be78f197 (diff) | |
Merge pull request #4089 from laytan/riscv64
add support for linux_riscv64 and freestanding_riscv64
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 5 |
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 |