From b4460534ac423e2059fd9cc10ecb2134b5206cf1 Mon Sep 17 00:00:00 2001 From: Vizonex Date: Mon, 26 Oct 2026 18:28:22 -0500 Subject: [PATCH 1/4] update quickjs backend --- quickjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickjs b/quickjs index 66adc82..7a23d8e 160000 --- a/quickjs +++ b/quickjs @@ -1 +1 @@ -Subproject commit 66adc822eb0f0ac65e6b73d9a5c3fac50e43224e +Subproject commit 7a23d8e3fedb010070ef1a03873c55500c7aa1a9 From a0824e2c7877f2ab7020b5ca6e8e899a329cace7 Mon Sep 17 00:00:00 2001 From: Vizonex Date: Mon, 26 Oct 2026 18:32:13 -0500 Subject: [PATCH 2/4] macos is now misbehaving --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e4584d5..50585da 100644 --- a/setup.py +++ b/setup.py @@ -323,7 +323,7 @@ def finalize_options(self): if __name__ == "__main__": - if sys.platform != "linux": + if sys.platform == "win32": setup( ext_modules=[ Extension( From a94e81397bd765351ddf83866aa31ed42002d2d0 Mon Sep 17 00:00:00 2001 From: Vizonex Date: Mon, 26 Oct 2026 18:39:13 -0500 Subject: [PATCH 3/4] use recast to bypass problems. --- cyjs/bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyjs/bridge.h b/cyjs/bridge.h index 5ec79cc..1e9f81f 100644 --- a/cyjs/bridge.h +++ b/cyjs/bridge.h @@ -132,7 +132,7 @@ static JSRuntime* CYJS_NewRuntime(void* opaque){ the program remebers to exit (Will move it to cython after all of the first tests succeed and the library has had it's first release) */ /* the interrupt handler has a NULL Opaque for right now because we can ignore needing it. */ - JS_SetInterruptHandler(rt, CYJS_SigInterruptHandler, NULL); + JS_SetInterruptHandler(rt, (JSInterruptHandler*)CYJS_SigInterruptHandler, NULL); return rt; } From 729e5e87caf3150c7cd1bf581c2f2a3bb971220a Mon Sep 17 00:00:00 2001 From: Vizonex Date: Mon, 26 Oct 2026 18:45:27 -0500 Subject: [PATCH 4/4] fix windows segfault --- cyjs/bridge.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cyjs/bridge.h b/cyjs/bridge.h index 1e9f81f..bd89c26 100644 --- a/cyjs/bridge.h +++ b/cyjs/bridge.h @@ -132,7 +132,11 @@ static JSRuntime* CYJS_NewRuntime(void* opaque){ the program remebers to exit (Will move it to cython after all of the first tests succeed and the library has had it's first release) */ /* the interrupt handler has a NULL Opaque for right now because we can ignore needing it. */ +#if _WIN32 + JS_SetInterruptHandler(rt, CYJS_SigInterruptHandler, NULL); +#else JS_SetInterruptHandler(rt, (JSInterruptHandler*)CYJS_SigInterruptHandler, NULL); +#endif return rt; }