From 1c9aad4d7be05ee7da14e9aa3b56733dc6df7a36 Mon Sep 17 00:00:00 2001 From: Ricardo Silva Date: Mon, 3 Oct 2022 14:49:35 +0100 Subject: [PATCH 1/3] Update Darwin release map --- core/sys/info/platform_darwin.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/sys/info/platform_darwin.odin b/core/sys/info/platform_darwin.odin index fe58d5b06..d226f668c 100644 --- a/core/sys/info/platform_darwin.odin +++ b/core/sys/info/platform_darwin.odin @@ -464,6 +464,7 @@ macos_release_map: map[string]Darwin_To_Release = { "21F2092" = {{21, 5, 0}, "macOS", {"Monterey", {12, 4, 0}}}, "21G72" = {{21, 6, 0}, "macOS", {"Monterey", {12, 5, 0}}}, "21G83" = {{21, 6, 0}, "macOS", {"Monterey", {12, 5, 1}}}, + "21G115" = {{21, 6, 0}, "macOS", {"Monterey", {12, 6, 0}}}, } @(private) From d13dc7eca718508eb40dc17edff9d298c5f4052c Mon Sep 17 00:00:00 2001 From: matias Date: Mon, 3 Oct 2022 11:35:27 -0400 Subject: [PATCH 2/3] Add a few Fiber functions to kernel32.odin This is not the complete set, but a start. --- core/sys/windows/kernel32.odin | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin index a9ed44d8a..9e5e5448b 100644 --- a/core/sys/windows/kernel32.odin +++ b/core/sys/windows/kernel32.odin @@ -963,4 +963,15 @@ DCB :: struct { foreign kernel32 { GetCommState :: proc(handle: HANDLE, dcb: ^DCB) -> BOOL --- SetCommState :: proc(handle: HANDLE, dcb: ^DCB) -> BOOL --- -} \ No newline at end of file +} + + +LPFIBER_START_ROUTINE :: #type proc "stdcall" (lpFiberParameter: LPVOID) + +@(default_calling_convention = "stdcall") +foreign kernel32 { + CreateFiber :: proc(dwStackSize: SIZE_T, lpStartAddress: LPFIBER_START_ROUTINE, lpParameter: LPVOID) -> LPVOID --- + DeleteFiber :: proc(lpFiber: LPVOID) --- + ConvertThreadToFiber :: proc(lpParameter: LPVOID) -> LPVOID --- + SwitchToFiber :: proc(lpFiber: LPVOID) --- +} From de8f6709f7a6d90d89a18b4ba2f177070397b684 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Tue, 4 Oct 2022 02:07:54 +0200 Subject: [PATCH 3/3] Disable issues tests for the moment. --- .github/workflows/ci.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 558781a0a..0d8e10d59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -158,13 +158,6 @@ jobs: cd tests\core\math\big call build.bat timeout-minutes: 10 - - name: Odin issues tests - shell: cmd - run: | - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat - cd tests\issues - call run.bat - timeout-minutes: 10 - name: Odin check examples/all for Windows 32bits shell: cmd run: |