mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 12:18:15 +00:00
Correct calling convention for _startup_runtime
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user