aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-02-28 15:35:10 +0000
committergingerBill <bill@gingerbill.org>2022-02-28 15:35:10 +0000
commitfc4eb4152cd9e95ee1e020d60f89a2e245e8febe (patch)
tree8c08a777569c1e2552e8ab24be683e257d4afb5b
parent4f3b5d8dcb3be98d7b11efd49f3aec758e51bd2a (diff)
Correct calling convention for `_startup_runtime`
-rw-r--r--core/runtime/core.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/core.odin b/core/runtime/core.odin
index 83a5418ed..3f6b03107 100644
--- a/core/runtime/core.odin
+++ b/core/runtime/core.odin
@@ -451,7 +451,7 @@ Odin_Endian_Type :: type_of(ODIN_ENDIAN)
// This is probably only useful for freestanding targets
foreign {
@(link_name="__$startup_runtime")
- _startup_runtime :: proc() ---
+ _startup_runtime :: proc "odin" () ---
}
@(link_name="__$cleanup_runtime")