aboutsummaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-08-08 13:42:48 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-08-08 13:42:48 +0100
commit0f5ced52a0f87187ac3099238c726d1230aaabbd (patch)
tree188172a62a6e040eaf38307b9c9115a156cc28ca /vendor
parent804984ed35faceee3e7629dff0c8d9df86db3d98 (diff)
Assign `context` in scope
Diffstat (limited to 'vendor')
-rw-r--r--vendor/libc/libc.odin1
1 files changed, 1 insertions, 0 deletions
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.