From 0f5ced52a0f87187ac3099238c726d1230aaabbd Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 8 Aug 2025 13:42:48 +0100 Subject: Assign `context` in scope --- vendor/libc/libc.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/libc/libc.odin b/vendor/libc/libc.odin index 3ec25aacf..a5508e14f 100644 --- a/vendor/libc/libc.odin +++ b/vendor/libc/libc.odin @@ -12,6 +12,7 @@ g_allocator: mem.Compat_Allocator @(init) init_context :: proc "contextless" () { g_ctx = runtime.default_context() + context = g_ctx // Wrapping the allocator with the mem.Compat_Allocator so we can // mimic the realloc semantics. -- cgit v1.2.3