Correct calling convention for _startup_runtime

This commit is contained in:
gingerBill
2022-02-28 15:35:10 +00:00
parent 4f3b5d8dcb
commit fc4eb4152c
+1 -1
View File
@@ -451,7 +451,7 @@ Odin_Endian_Type :: type_of(ODIN_ENDIAN)
// This is probably only useful for freestanding targets // This is probably only useful for freestanding targets
foreign { foreign {
@(link_name="__$startup_runtime") @(link_name="__$startup_runtime")
_startup_runtime :: proc() --- _startup_runtime :: proc "odin" () ---
} }
@(link_name="__$cleanup_runtime") @(link_name="__$cleanup_runtime")