Correct calling convention for _startup_runtime

This commit is contained in:
gingerBill
2022-02-28 15:35:10 +00:00
parent 4f3b5d8dcb
commit fc4eb4152c

View File

@@ -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")