contextless fixes for js

This commit is contained in:
gingerBill
2025-08-08 13:29:49 +01:00
parent 7c93a5ae80
commit 804984ed35
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ g_ctx: runtime.Context
g_allocator: mem.Compat_Allocator
@(init)
init_context :: proc() {
g_ctx = context
init_context :: proc "contextless" () {
g_ctx = runtime.default_context()
// Wrapping the allocator with the mem.Compat_Allocator so we can
// mimic the realloc semantics.