aboutsummaryrefslogtreecommitdiff
path: root/src/alloc.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.zig')
-rw-r--r--src/alloc.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.zig b/src/alloc.zig
index ec6a678e8..ed790d096 100644
--- a/src/alloc.zig
+++ b/src/alloc.zig
@@ -9,8 +9,8 @@ pub var dynamic: *std.mem.Allocator = undefined;
pub fn setup(root: *std.mem.Allocator) !void {
needs_setup = false;
- static = std.heap.c_allocator;
- dynamic = std.heap.c_allocator;
+ static = root;
+ dynamic = root;
// static = @ptrCast(*std.mem.Allocator, &stat.allocator);
}