mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-04 11:24:37 -04:00
Correct calling convention for _startup_runtime
This commit is contained in:
1 parent
4f3b5d8dcb
commit
fc4eb4152c
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user