Browse Source

Correct calling convention for `_startup_runtime`

gingerBill 3 years ago
parent
commit
fc4eb4152c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/runtime/core.odin

+ 1 - 1
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")