aboutsummaryrefslogtreecommitdiff
path: root/core/testing
diff options
context:
space:
mode:
Diffstat (limited to 'core/testing')
-rw-r--r--core/testing/runner_windows.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/testing/runner_windows.odin b/core/testing/runner_windows.odin
index 17bcfce26..dbb9ed1c0 100644
--- a/core/testing/runner_windows.odin
+++ b/core/testing/runner_windows.odin
@@ -90,7 +90,7 @@ Thread_Os_Specific :: struct {
}
thread_create :: proc(procedure: Thread_Proc) -> ^Thread {
- __windows_thread_entry_proc :: proc "stdcall" (t_: rawptr) -> win32.DWORD {
+ __windows_thread_entry_proc :: proc "system" (t_: rawptr) -> win32.DWORD {
t := (^Thread)(t_)
context = t.init_context.? or_else runtime.default_context()
@@ -172,7 +172,7 @@ global_current_t: ^T
run_internal_test :: proc(t: ^T, it: Internal_Test) {
thread := thread_create(proc(thread: ^Thread) {
- exception_handler_proc :: proc "stdcall" (ExceptionInfo: ^win32.EXCEPTION_POINTERS) -> win32.LONG {
+ exception_handler_proc :: proc "system" (ExceptionInfo: ^win32.EXCEPTION_POINTERS) -> win32.LONG {
switch ExceptionInfo.ExceptionRecord.ExceptionCode {
case
win32.EXCEPTION_DATATYPE_MISALIGNMENT,